summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-18 23:18:02 +0000
committerGerrit Code Review <review@openstack.org>2018-10-18 23:18:02 +0000
commit2f8610416b916ab80f6799670febdc7f41ddb671 (patch)
tree5a2a484c8cfa5f7b1cc48d167d060986e13bc207
parent4aaea5a45976b03f0114b8c97dd57af7a360d19c (diff)
parent930384a48fd2124981d97304a8bc6c4fd875d7b7 (diff)
downloadpython-designateclient-2f8610416b916ab80f6799670febdc7f41ddb671.tar.gz
Merge "server-get/update show wrong values about 'id' and 'update_at'" into stable/ocata
-rw-r--r--designateclient/cli/base.py6
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):