Change iteritems to items to allow to work with dictionaries in Python3

This commit is contained in:
Doug Blank 2013-11-09 10:41:26 -05:00
parent 9050f96dad
commit b3f6b8f27a

View File

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