Adjust the usage of map items() to iteritems() which will help later translation to python 3.
This commit is contained in:
parent
ffb83c5c9f
commit
6ba90f8058
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user