Merge pull request #164 from prculley/bug9475

Bug9475 GEDCOM import creates inconsistent source gramps IDs
This commit is contained in:
Doug Blank 2016-05-26 22:00:49 -04:00
commit 93803fb519

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 = ""