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,
|
np = {'iso': transport_iso9660,
|
||||||
'vmware-guestd': transport_vmware_guestd, }
|
'vmware-guestd': transport_vmware_guestd, }
|
||||||
name = None
|
name = None
|
||||||
for name, transfunc in np.iteritems():
|
for (name, transfunc) in np.iteritems():
|
||||||
(contents, _dev, _fname) = transfunc()
|
(contents, _dev, _fname) = transfunc()
|
||||||
if contents:
|
if contents:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user