Fixed setRelationship

svn: r298
This commit is contained in:
Don Allingham 2001-08-06 12:48:20 +00:00
parent 44324703cf
commit a3d9847d9a

View File

@ -519,7 +519,7 @@ class GedcomParser:
except: except:
event.setName(matches[1]) event.setName(matches[1])
if event.getName() == "Marriage": if event.getName() == "Marriage":
self.setRelationship("Married") self.family.setRelationship("Married")
self.family.addEvent(event) self.family.addEvent(event)
self.parse_family_event(event,2) self.parse_family_event(event,2)