Added default family relationship of marriage
svn: r11517
This commit is contained in:
parent
2bf693729f
commit
10b0648a45
@ -733,6 +733,8 @@ class CSVParser:
|
||||
if wife:
|
||||
family.set_mother_handle(wife.get_handle())
|
||||
wife.add_family_handle(family.get_handle())
|
||||
if husband and wife:
|
||||
family.set_relationship(gen.lib.FamilyRelType.MARRIED)
|
||||
self.db.commit_family(family,self.trans)
|
||||
if husband:
|
||||
self.db.commit_person(husband, self.trans)
|
||||
|
Loading…
Reference in New Issue
Block a user