diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2016-06-23 15:39:48 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-06-30 08:57:59 -0500 |
| commit | d324530532d5361e85e784c3df2f0d40a128b149 (patch) | |
| tree | 3b1d1f1ddbce67c656daf5077b6f4b1b6b5d2c9d /examples | |
| parent | b7909252a586d84042bf2dfec82000b2ded6101e (diff) | |
| download | python-openstackclient-d324530532d5361e85e784c3df2f0d40a128b149.tar.gz | |
osc-lib: api.auth
Move auth plugin checking to osc-lib.
Change-Id: I673d9c2d6e8bbf724c3000459a729e831d747814
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('') |
