diff options
| author | Zuul <zuul@review.opendev.org> | 2019-05-17 23:07:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2019-05-17 23:07:57 +0000 |
| commit | e90b79be4c87bdba9b4fd1bfff1ce4a8d5c8c83a (patch) | |
| tree | 6335a27288a541ea3dc5323aabad7a3a442e9b28 /openstackclient/identity | |
| parent | 8ee23fe917f52e84e66feb9f07cf4aa7f6717f06 (diff) | |
| parent | 71f138b172e95515b9d54eee9b3e318df3381791 (diff) | |
| download | python-openstackclient-e90b79be4c87bdba9b4fd1bfff1ce4a8d5c8c83a.tar.gz | |
Merge "Fix RuntimeError when showing project which has extra properties"
Diffstat (limited to 'openstackclient/identity')
| -rw-r--r-- | openstackclient/identity/v2_0/project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/identity/v2_0/project.py b/openstackclient/identity/v2_0/project.py index 04d422ec..9bb5fc4d 100644 --- a/openstackclient/identity/v2_0/project.py +++ b/openstackclient/identity/v2_0/project.py @@ -289,7 +289,7 @@ class ShowProject(command.ShowOne): # the API has and handle the extra top level properties. reserved = ('name', 'id', 'enabled', 'description') properties = {} - for k, v in info.items(): + for k, v in list(info.items()): if k not in reserved: # If a key is not in `reserved` it's a property, pop it info.pop(k) |
