diff options
| author | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | 2016-08-25 13:50:38 +0700 |
|---|---|---|
| committer | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | 2016-08-25 13:50:38 +0700 |
| commit | f854b7d6ea1c67cf7f313e039691c4cb40ff1236 (patch) | |
| tree | 81d44db2d81fb06696d90751e00665fb2590513c /openstackclient/common | |
| parent | afda6f846fc3abea47c83e6384974cb9bdb8db3b (diff) | |
| download | python-openstackclient-f854b7d6ea1c67cf7f313e039691c4cb40ff1236.tar.gz | |
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
Diffstat (limited to 'openstackclient/common')
| -rw-r--r-- | openstackclient/common/client_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/common/client_config.py b/openstackclient/common/client_config.py index bbcb34eb..9e98adc6 100644 --- a/openstackclient/common/client_config.py +++ b/openstackclient/common/client_config.py @@ -15,7 +15,7 @@ import logging -from os_client_config.config import OpenStackConfig +from os_client_config import config LOG = logging.getLogger(__name__) @@ -23,7 +23,7 @@ LOG = logging.getLogger(__name__) # Sublcass OpenStackConfig in order to munge config values # before auth plugins are loaded -class OSC_Config(OpenStackConfig): +class OSC_Config(config.OpenStackConfig): def _auth_select_default_plugin(self, config): """Select a default plugin based on supplied arguments |
