summaryrefslogtreecommitdiff
path: root/designateclient
diff options
context:
space:
mode:
Diffstat (limited to 'designateclient')
-rw-r--r--designateclient/cli/base.py6
-rw-r--r--designateclient/v2/cli/quotas.py4
2 files changed, 5 insertions, 5 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):
diff --git a/designateclient/v2/cli/quotas.py b/designateclient/v2/cli/quotas.py
index a9e1e32..2244ca7 100644
--- a/designateclient/v2/cli/quotas.py
+++ b/designateclient/v2/cli/quotas.py
@@ -64,7 +64,7 @@ class ListQuotasCommand(show.ShowOne):
class SetQuotasCommand(show.ShowOne):
- """Set blacklist properties"""
+ """Set quotas"""
def _build_options_list(self):
return itertools.chain(DNS_QUOTAS.items())
@@ -108,7 +108,7 @@ class SetQuotasCommand(show.ShowOne):
class ResetQuotasCommand(command.Command):
- """Delete blacklist"""
+ """Reset quotas"""
def get_parser(self, prog_name):
parser = super(ResetQuotasCommand, self).get_parser(prog_name)