diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-07 19:49:06 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-07 19:49:06 +0000 |
| commit | 2adeac2bc2421a96273dfbc2b39a43cc06e542e6 (patch) | |
| tree | 0233a50e26171805134ad436700fd3b160771ef8 /examples | |
| parent | bca1851911af8d1ec499104bcbbf6ff1e41389cb (diff) | |
| parent | d324530532d5361e85e784c3df2f0d40a128b149 (diff) | |
| download | python-openstackclient-2adeac2bc2421a96273dfbc2b39a43cc06e542e6.tar.gz | |
Merge "osc-lib: api.auth"
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/common.py | 3 | ||||
| -rwxr-xr-x | examples/object_api.py | 4 | ||||
| -rwxr-xr-x | examples/osc-lib.py | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/examples/common.py b/examples/common.py index 6d48a8cb..d472fe6b 100755 --- a/examples/common.py +++ b/examples/common.py @@ -38,8 +38,7 @@ import sys import traceback from keystoneauth1 import session as ks_session - -from openstackclient.api import auth +from osc_lib.api import auth CONSOLE_MESSAGE_FORMAT = '%(levelname)s: %(name)s %(message)s' diff --git a/examples/object_api.py b/examples/object_api.py index 11b62da7..577fc052 100755 --- a/examples/object_api.py +++ b/examples/object_api.py @@ -25,13 +25,11 @@ import logging import sys import common - +from os_client_config import config as cloud_config from openstackclient.api import object_store_v1 as object_store from openstackclient.identity import client as identity_client -from os_client_config import config as cloud_config - LOG = logging.getLogger('') diff --git a/examples/osc-lib.py b/examples/osc-lib.py index abaa1871..cc04bc70 100755 --- a/examples/osc-lib.py +++ b/examples/osc-lib.py @@ -26,11 +26,10 @@ import logging import sys import common +from os_client_config import config as cloud_config from openstackclient.common import clientmanager -from os_client_config import config as cloud_config - LOG = logging.getLogger('') |
