summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-18 22:38:07 +0000
committerGerrit Code Review <review@openstack.org>2018-10-18 22:38:07 +0000
commitda85c37baea5ec7e37851b6b3f66119d2200a33b (patch)
tree21523839bd084f89c4a23bb2b9aeb410e377df52
parent34f91e6b5375ebdcd4642570d13b56926c6c8617 (diff)
parent05990b868e192d5ebb46509bdb0254e91b9ccbe9 (diff)
downloadpython-designateclient-pike-em.tar.gz
Merge "server-get/update show wrong values about 'id' and 'update_at'" into stable/pikepike-em2.7.1
-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):