diff options
| author | Zuul <zuul@review.openstack.org> | 2018-10-18 22:38:07 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2018-10-18 22:38:07 +0000 |
| commit | da85c37baea5ec7e37851b6b3f66119d2200a33b (patch) | |
| tree | 21523839bd084f89c4a23bb2b9aeb410e377df52 /designateclient/cli/base.py | |
| parent | 34f91e6b5375ebdcd4642570d13b56926c6c8617 (diff) | |
| parent | 05990b868e192d5ebb46509bdb0254e91b9ccbe9 (diff) | |
| download | python-designateclient-pike-em.tar.gz | |
Diffstat (limited to 'designateclient/cli/base.py')
| -rw-r--r-- | designateclient/cli/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/designateclient/cli/base.py b/designateclient/cli/base.py index 6cfb4bc..aa56d40 100644 --- a/designateclient/cli/base.py +++ b/designateclient/cli/base.py @@ -121,17 +121,17 @@ class ListCommand(Command, command.Lister): class GetCommand(Command, command.ShowOne): def post_execute(self, results): - return list(six.iterkeys(results)), list(six.itervalues(results)) + return results.keys(), results.values() class CreateCommand(Command, command.ShowOne): def post_execute(self, results): - return list(six.iterkeys(results)), list(six.itervalues(results)) + return results.keys(), results.values() class UpdateCommand(Command, command.ShowOne): def post_execute(self, results): - return list(six.iterkeys(results)), list(six.itervalues(results)) + return results.keys(), results.values() class DeleteCommand(Command, command.ShowOne): |
