summaryrefslogtreecommitdiff
path: root/heatclient/osc/v1/resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/osc/v1/resource.py')
-rw-r--r--heatclient/osc/v1/resource.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/heatclient/osc/v1/resource.py b/heatclient/osc/v1/resource.py
index e29b077..a30bae2 100644
--- a/heatclient/osc/v1/resource.py
+++ b/heatclient/osc/v1/resource.py
@@ -20,8 +20,7 @@ from osc_lib import exceptions as exc
from osc_lib.i18n import _
from osc_lib import utils
from oslo_serialization import jsonutils
-import six
-from six.moves.urllib import request
+from urllib import request
from heatclient.common import format_utils
from heatclient.common import utils as heat_utils
@@ -184,8 +183,8 @@ def _resource_metadata(heat_client, args):
{'stack': args.stack,
'resource': args.resource})
- data = list(six.itervalues(metadata))
- columns = list(six.iterkeys(metadata))
+ data = list(metadata.values())
+ columns = list(metadata.keys())
return columns, data