summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/agent.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/compute/v2/agent.py')
-rw-r--r--openstackclient/compute/v2/agent.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstackclient/compute/v2/agent.py b/openstackclient/compute/v2/agent.py
index 151dcc1e..3feb99ec 100644
--- a/openstackclient/compute/v2/agent.py
+++ b/openstackclient/compute/v2/agent.py
@@ -20,7 +20,6 @@ import logging
from osc_lib.command import command
from osc_lib import exceptions
from osc_lib import utils
-import six
from openstackclient.i18n import _
@@ -77,7 +76,7 @@ class CreateAgent(command.ShowOne):
parsed_args.hypervisor
)
agent = compute_client.agents.create(*args)._info.copy()
- return zip(*sorted(six.iteritems(agent)))
+ return zip(*sorted(agent.items()))
class DeleteAgent(command.Command):