Fix child relationship bugs with multiple languages, add support for new editing in marriage window.

svn: r271
This commit is contained in:
Don Allingham
2001-07-31 21:42:25 +00:00
parent a324227ddd
commit 4e37696aa5
13 changed files with 1930 additions and 1836 deletions

View File

@ -495,20 +495,9 @@ class GedcomParser:
self.ignore_sub_junk(2)
elif matches[1] == "SOUR":
self.ignore_sub_junk(2)
elif matches[1] == "MARR":
event = Event()
event.setName("Marriage")
self.family.setMarriage(event)
self.parse_family_event(event,2)
elif matches[1] == "DIV":
event = Event()
event.setName("Divorce")
self.family.setDivorce(event)
self.parse_family_event(event,2)
elif matches[1] == "OBJE":
if matches[2] and matches[2][0] == '@':
self.barf(2)
# self.ignore_sub_junk(2)
else:
self.parse_family_object(2)
elif matches[1] == "NOTE":