summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/hypervisor_stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/compute/v2/hypervisor_stats.py')
-rw-r--r--openstackclient/compute/v2/hypervisor_stats.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstackclient/compute/v2/hypervisor_stats.py b/openstackclient/compute/v2/hypervisor_stats.py
index b0413005..4493e080 100644
--- a/openstackclient/compute/v2/hypervisor_stats.py
+++ b/openstackclient/compute/v2/hypervisor_stats.py
@@ -15,7 +15,6 @@
"""Hypervisor Stats action implementations"""
from osc_lib.command import command
-import six
from openstackclient.i18n import _
@@ -27,4 +26,4 @@ class ShowHypervisorStats(command.ShowOne):
compute_client = self.app.client_manager.compute
hypervisor_stats = compute_client.hypervisors.statistics().to_dict()
- return zip(*sorted(six.iteritems(hypervisor_stats)))
+ return zip(*sorted(hypervisor_stats.items()))