Skip to content

Commit eaa4c3e

Browse files
Python 3: fix a syntax error
"raise AttributeError, name" is invalid in Python 3. Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
1 parent 6323633 commit eaa4c3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/identity/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ def __getattr__(self, name):
7070
if name == "projects":
7171
return self.tenants
7272
else:
73-
raise AttributeError, name
73+
raise AttributeError(name)

0 commit comments

Comments
 (0)