diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-25 03:10:31 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-25 03:10:31 +0000 |
commit | 200f5192fdaf1abe982fadd1344f756c760a0414 (patch) | |
tree | 09451a48af8ca6bb4643524e9070c040fa23b160 /designateclient | |
parent | 9f70179a3dfac5f7c1be5062e8552cdad544ea2d (diff) | |
parent | 19e43432c3bda75b0f688acca01b984225709cf5 (diff) | |
download | python-designateclient-200f5192fdaf1abe982fadd1344f756c760a0414.tar.gz |
Diffstat (limited to 'designateclient')
-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 cfef83f..af4f2de 100644 --- a/designateclient/cli/base.py +++ b/designateclient/cli/base.py @@ -125,17 +125,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): |