Python 3: fix a syntax error

"raise AttributeError, name" is invalid in Python 3.

Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
This commit is contained in:
Cyril Roelandt 2014-02-11 15:44:54 +01:00
parent 632363328b
commit eaa4c3e1a6

View File

@ -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)