diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:34:35 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:34:35 -0700 |
commit | cbf1438666fa275619811806ad7922a598ff5dce (patch) | |
tree | 73a3d73e3cc7f853fd457c82dac1c8315ce4e538 /cloudinit/sources | |
parent | d21afdbf0c89fbd9d49c47060f5245dfb53b0440 (diff) | |
download | vyos-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.py | 2 |
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 |