From b3f6b8f27a9287e98ce37696c299f3f20c2ce821 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 9 Nov 2013 10:41:26 -0500 Subject: [PATCH] Change iteritems to items to allow to work with dictionaries in Python3 --- gramps/plugins/lib/libplaceimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libplaceimport.py b/gramps/plugins/lib/libplaceimport.py index 516f9fd1f..83d47b134 100644 --- a/gramps/plugins/lib/libplaceimport.py +++ b/gramps/plugins/lib/libplaceimport.py @@ -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):