Adjust the usage of map items() to iteritems() which will help later translation to python 3.

This commit is contained in:
Joshua Harlow 2012-06-16 07:34:35 -07:00
parent ffb83c5c9f
commit 6ba90f8058

View File

@ -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