* src/plugins/Check.py (CheckIntegrity.check_events): don't require same gender for
civil unions svn: r8374
This commit is contained in:
parent
b74257f8c5
commit
26d85d8ef2
@ -1,4 +1,6 @@
|
||||
2007-04-09 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/Check.py (CheckIntegrity.check_events): don't require same gender for
|
||||
civil unions
|
||||
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.gnu_fdl): don't duplicate
|
||||
the copyright notice (bug #790)
|
||||
|
||||
|
@ -618,13 +618,6 @@ class CheckIntegrity:
|
||||
family.set_mother_handle(father_handle)
|
||||
self.fam_rel.append(family_handle)
|
||||
self.db.commit_family(family,self.trans)
|
||||
elif fgender != mgender:
|
||||
family.set_relationship(RelLib.FamilyRelType.UNKNOWN)
|
||||
self.fam_rel.append(family_handle)
|
||||
if fgender == RelLib.Person.FEMALE or mgender == RelLib.Person.MALE:
|
||||
family.set_father_handle(mother_handle)
|
||||
family.set_mother_handle(father_handle)
|
||||
self.db.commit_family(family,self.trans)
|
||||
|
||||
def check_events(self):
|
||||
self.progress.set_pass(_('Looking for event problems'),
|
||||
|
Loading…
Reference in New Issue
Block a user