diff --git a/gramps/plugins/lib/libplaceimport.py b/gramps/plugins/lib/libplaceimport.py index f27720609..3383104e7 100644 --- a/gramps/plugins/lib/libplaceimport.py +++ b/gramps/plugins/lib/libplaceimport.py @@ -21,6 +21,7 @@ """ Helper class for importing places. """ +from _collections import OrderedDict #------------------------------------------------------------------------- # @@ -41,7 +42,7 @@ class PlaceImport: def __init__(self, db): self.db = db self.loc2handle = {} - self.handle2loc = {} + self.handle2loc = OrderedDict() def store_location(self, location, handle): """