summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-03-06 15:21:05 +0000
committerGerrit Code Review <review@openstack.org>2015-03-06 15:21:05 +0000
commitb99af443a6f50a34b06eab30f33efb4ddcd32f14 (patch)
tree315e7cd460874b4e3b3b9000c21453ffa7c05bd1 /openstackclient
parent707b5b022f616c597dbce02879aee2eb66eb26c2 (diff)
parent47977fcc323b1bf52a40ab98a7617fb5d638ed96 (diff)
downloadpython-openstackclient-b99af443a6f50a34b06eab30f33efb4ddcd32f14.tar.gz
Merge "Raise AttributeError for unknown attributes"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/clientmanager.py2
-rw-r--r--openstackclient/identity/client.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index c4307919..748894a9 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -54,6 +54,8 @@ class ClientManager(object):
for o in auth.OPTIONS_LIST]:
return self._auth_params[name[1:]]
+ raise AttributeError(name)
+
def __init__(
self,
cli_options,
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py
index d10d046d..4127a451 100644
--- a/openstackclient/identity/client.py
+++ b/openstackclient/identity/client.py
@@ -46,7 +46,6 @@ def make_client(instance):
API_VERSIONS)
LOG.debug('Instantiating identity client: %s', identity_client)
- LOG.debug('Using auth plugin: %s' % instance._auth_plugin)
client = identity_client(
session=instance.session,
region_name=instance._region_name,