summaryrefslogtreecommitdiff
path: root/designateclient/v2/cli/quotas.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-04-28 07:46:46 +0000
committerGerrit Code Review <review@openstack.org>2021-04-28 07:46:46 +0000
commit9bc517aa274d41572da87c0ad60ac4ae9f086f64 (patch)
tree9a0eea3a49aac54085951b983074faa031105942 /designateclient/v2/cli/quotas.py
parentf8353c5f03cdad448eb0ddade246fdf6ff92b494 (diff)
parent820f1e9af9317b91f3ee11a9ca22ea340119a125 (diff)
downloadpython-designateclient-4.3.0.tar.gz
Merge "Remove six and update lower-constraints appdirs"4.3.0
Diffstat (limited to 'designateclient/v2/cli/quotas.py')
-rw-r--r--designateclient/v2/cli/quotas.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/designateclient/v2/cli/quotas.py b/designateclient/v2/cli/quotas.py
index 76ea7f6..c015080 100644
--- a/designateclient/v2/cli/quotas.py
+++ b/designateclient/v2/cli/quotas.py
@@ -18,7 +18,6 @@ import logging
from cliff import command
from cliff import show
-import six
from designateclient.v2.cli import common
@@ -60,7 +59,7 @@ class ListQuotasCommand(show.ShowOne):
common.set_all_projects(client, True)
data = client.quotas.list(proj_id)
- return six.moves.zip(*sorted(six.iteritems(data)))
+ return zip(*sorted(data.items()))
class SetQuotasCommand(show.ShowOne):
@@ -104,7 +103,7 @@ class SetQuotasCommand(show.ShowOne):
updated = client.quotas.update(proj_id, quotas)
- return six.moves.zip(*sorted(six.iteritems(updated)))
+ return zip(*sorted(updated.items()))
class ResetQuotasCommand(command.Command):