This fix makes Place GID vs place name consistent across runs for Gedcom import
This commit is contained in:
parent
2cda8b1b24
commit
1c686274be
@ -21,6 +21,7 @@
|
|||||||
"""
|
"""
|
||||||
Helper class for importing places.
|
Helper class for importing places.
|
||||||
"""
|
"""
|
||||||
|
from _collections import OrderedDict
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -41,7 +42,7 @@ class PlaceImport:
|
|||||||
def __init__(self, db):
|
def __init__(self, db):
|
||||||
self.db = db
|
self.db = db
|
||||||
self.loc2handle = {}
|
self.loc2handle = {}
|
||||||
self.handle2loc = {}
|
self.handle2loc = OrderedDict()
|
||||||
|
|
||||||
def store_location(self, location, handle):
|
def store_location(self, location, handle):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user