From 3f32c012f2c4294c4a8e1c15b771fec061d124ae Mon Sep 17 00:00:00 2001 From: prculley Date: Thu, 26 May 2016 13:54:20 -0500 Subject: [PATCH] but 9475 GEDCOM import creates inconsistent source gramps IDs --- gramps/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index cfdde921d..d7e2059bb 100755 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -92,7 +92,7 @@ import re import time import codecs from xml.parsers.expat import ParserCreate -from collections import defaultdict +from collections import defaultdict, OrderedDict import string from io import StringIO from urllib.parse import urlparse @@ -1896,7 +1896,7 @@ class GedcomParser(UpdateCallback): self.fams_map = stage_one.get_fams_map() self.place_parser = PlaceParser() - self.inline_srcs = {} + self.inline_srcs = OrderedDict() self.media_map = {} self.genby = "" self.genvers = ""