Change iteritems to items to allow to work with dictionaries in Python3
This commit is contained in:
parent
9050f96dad
commit
b3f6b8f27a
@ -56,7 +56,7 @@ class PlaceImport(object):
|
||||
"""
|
||||
Generate missing places in the place hierarchy.
|
||||
"""
|
||||
for handle, location in self.handle2loc.iteritems():
|
||||
for handle, location in self.handle2loc.items():
|
||||
|
||||
# find title and type
|
||||
for type_num, name in enumerate(location):
|
||||
|
Loading…
Reference in New Issue
Block a user