summaryrefslogtreecommitdiff
path: root/openstackclient/identity
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2014-02-11 15:44:54 +0100
committerCyril Roelandt <cyril.roelandt@enovance.com>2014-02-11 15:44:54 +0100
commiteaa4c3e1a6a4d2fd3139695db88a9f28d64a506f (patch)
treeefdcf5fbcccd586d14b5e1ac900f1608a02b9e61 /openstackclient/identity
parent632363328b6bcdfb562e2822cd033967adcf4b6c (diff)
downloadpython-openstackclient-eaa4c3e1a6a4d2fd3139695db88a9f28d64a506f.tar.gz
Python 3: fix a syntax error
"raise AttributeError, name" is invalid in Python 3. Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
Diffstat (limited to 'openstackclient/identity')
-rw-r--r--openstackclient/identity/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py
index b19388cc..a71dfc7a 100644
--- a/openstackclient/identity/client.py
+++ b/openstackclient/identity/client.py
@@ -70,4 +70,4 @@ class IdentityClientv2_0(identity_client_v2_0.Client):
if name == "projects":
return self.tenants
else:
- raise AttributeError, name
+ raise AttributeError(name)