Skip to content

Commit f854b7d

Browse files
author
Cao Xuan Hoang
committed
Clean imports in code
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I2eb35dc53f0fdb61c31022bb70293d1df8aaf482
1 parent afda6f8 commit f854b7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/common/client_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
import logging
1717

18-
from os_client_config.config import OpenStackConfig
18+
from os_client_config import config
1919

2020

2121
LOG = logging.getLogger(__name__)
2222

2323

2424
# Sublcass OpenStackConfig in order to munge config values
2525
# before auth plugins are loaded
26-
class OSC_Config(OpenStackConfig):
26+
class OSC_Config(config.OpenStackConfig):
2727

2828
def _auth_select_default_plugin(self, config):
2929
"""Select a default plugin based on supplied arguments

0 commit comments

Comments
 (0)