Python 3: fix a syntax error
"raise AttributeError, name" is invalid in Python 3. Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
This commit is contained in:
parent
632363328b
commit
eaa4c3e1a6
@ -70,4 +70,4 @@ class IdentityClientv2_0(identity_client_v2_0.Client):
|
|||||||
if name == "projects":
|
if name == "projects":
|
||||||
return self.tenants
|
return self.tenants
|
||||||
else:
|
else:
|
||||||
raise AttributeError, name
|
raise AttributeError(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user