mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue