diff options
-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): |