2007-07-27 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: Handle broken gedcom, there the TYPE field is specified, but has no value (Heredis 9) svn: r8780
This commit is contained in:
parent
b13baceed6
commit
55a34e84bf
@ -1,3 +1,7 @@
|
|||||||
|
2007-07-27 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDbUtils/_GedcomParse.py: Handle broken gedcom, there
|
||||||
|
the TYPE field is specified, but has no value (Heredis 9)
|
||||||
|
|
||||||
2007-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
2007-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||||
* src/Spell.py: (__sort_languages): typo
|
* src/Spell.py: (__sort_languages): typo
|
||||||
* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): typo
|
* src/docgen/GtkPrint.py (paperstyle_to_pagesetup): typo
|
||||||
|
@ -2938,7 +2938,11 @@ class GedcomParser(UpdateCallback):
|
|||||||
if val:
|
if val:
|
||||||
name = RelLib.EventType((RelLib.EventType.CUSTOM, val))
|
name = RelLib.EventType((RelLib.EventType.CUSTOM, val))
|
||||||
else:
|
else:
|
||||||
name = RelLib.EventType((RelLib.EventType.CUSTOM, line[3]))
|
try:
|
||||||
|
name = RelLib.EventType((RelLib.EventType.CUSTOM,
|
||||||
|
line[3]))
|
||||||
|
except AttributeError:
|
||||||
|
name = RelLib.EventType(RelLib.EventType.UNKNOWN)
|
||||||
state.event.set_type(name)
|
state.event.set_type(name)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user