summaryrefslogtreecommitdiff
path: root/heatclient/osc/v1/software_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/osc/v1/software_config.py')
-rw-r--r--heatclient/osc/v1/software_config.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/heatclient/osc/v1/software_config.py b/heatclient/osc/v1/software_config.py
index af27be7..41eccd2 100644
--- a/heatclient/osc/v1/software_config.py
+++ b/heatclient/osc/v1/software_config.py
@@ -18,8 +18,7 @@ import logging
from osc_lib.command import command
from osc_lib import exceptions as exc
from osc_lib import utils
-import six
-from six.moves.urllib import request
+from urllib import request
import yaml
from heatclient._i18n import _
@@ -181,8 +180,8 @@ def _create_config(heat_client, args):
config['name'] = args.name
sc = heat_client.software_configs.create(**config).to_dict()
- rows = list(six.itervalues(sc))
- columns = list(six.iterkeys(sc))
+ rows = list(sc.values())
+ columns = list(sc.keys())
return columns, rows