summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 07:34:35 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 07:34:35 -0700
commitcbf1438666fa275619811806ad7922a598ff5dce (patch)
tree73a3d73e3cc7f853fd457c82dac1c8315ce4e538 /cloudinit/sources
parentd21afdbf0c89fbd9d49c47060f5245dfb53b0440 (diff)
downloadvyos-cloud-init-cbf1438666fa275619811806ad7922a598ff5dce.tar.gz
vyos-cloud-init-cbf1438666fa275619811806ad7922a598ff5dce.zip
Adjust the usage of map items() to iteritems() which will help later translation to python 3.
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceOVF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index 258d8d03..f38fb4b9 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -65,7 +65,7 @@ class DataSourceOVF(sources.DataSource):
np = {'iso': transport_iso9660,
'vmware-guestd': transport_vmware_guestd, }
name = None
- for name, transfunc in np.iteritems():
+ for (name, transfunc) in np.iteritems():
(contents, _dev, _fname) = transfunc()
if contents:
break