but 9475 GEDCOM import creates inconsistent source gramps IDs

This commit is contained in:
prculley 2016-05-26 13:54:20 -05:00
parent 7851d3bdfb
commit 3f32c012f2

View File

@ -92,7 +92,7 @@ import re
import time import time
import codecs import codecs
from xml.parsers.expat import ParserCreate from xml.parsers.expat import ParserCreate
from collections import defaultdict from collections import defaultdict, OrderedDict
import string import string
from io import StringIO from io import StringIO
from urllib.parse import urlparse from urllib.parse import urlparse
@ -1896,7 +1896,7 @@ class GedcomParser(UpdateCallback):
self.fams_map = stage_one.get_fams_map() self.fams_map = stage_one.get_fams_map()
self.place_parser = PlaceParser() self.place_parser = PlaceParser()
self.inline_srcs = {} self.inline_srcs = OrderedDict()
self.media_map = {} self.media_map = {}
self.genby = "" self.genby = ""
self.genvers = "" self.genvers = ""