summaryrefslogtreecommitdiff
path: root/heatclient/common/template_utils.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-02-19 03:26:41 +0000
committerGerrit Code Review <review@openstack.org>2014-02-19 03:26:41 +0000
commit06dbfe2af6d709c863414a765fd7c246d4f7cf31 (patch)
tree73d0324cbcf9b0f8f21146ec7b41c7879e0f49df /heatclient/common/template_utils.py
parentfe57a6cd51c71e57ffa7692b72a1df7e18e58384 (diff)
parentc7c96995e6d6621b0e0f08c74fa426349275c127 (diff)
downloadpython-heatclient-06dbfe2af6d709c863414a765fd7c246d4f7cf31.tar.gz
Merge "get_file_contents: use six.itervalues() instead of dict.itervalues()"
Diffstat (limited to 'heatclient/common/template_utils.py')
-rw-r--r--heatclient/common/template_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/common/template_utils.py b/heatclient/common/template_utils.py
index 0986f59..221c2f2 100644
--- a/heatclient/common/template_utils.py
+++ b/heatclient/common/template_utils.py
@@ -77,7 +77,7 @@ def get_file_contents(from_data, files, base_url=None,
if recurse_if and recurse_if(from_data):
if isinstance(from_data, dict):
- recurse_data = from_data.itervalues()
+ recurse_data = six.itervalues(from_data)
else:
recurse_data = from_data
for value in recurse_data: