From 72a25955d041348cbcac8565ce961ba96cdeb187 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 13 Jan 2005 18:00:49 +0000 Subject: [PATCH] * src/plugins/Check.py: Typos. svn: r3909 --- ChangeLog | 3 +++ src/plugins/Check.py | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 803e17e8a..c5521bc59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2005-01-13 Martin Hawlisch + * src/plugins/Check.py: Typos. + 2005-01-12 Don Allingham * src/DateDisplay.py: Make DateDisplayEn inherit from DateDisplay, make DateDisplay handle only ISO dates diff --git a/src/plugins/Check.py b/src/plugins/Check.py index d45ad5c30..7943c452f 100644 --- a/src/plugins/Check.py +++ b/src/plugins/Check.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2004 Donald N. Allingham +# Copyright (C) 2000-2005 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -272,9 +272,9 @@ class CheckIntegrity: else: fgender = father.get_gender() mgender = mother.get_gender() - if type != RelLib.Family._CIVIL_UNION: + if type != RelLib.Family.CIVIL_UNION: if fgender == mgender and fgender != RelLib.Person.unknown: - family.set_relationship(RelLib.Family._CIVIL_UNION) + family.set_relationship(RelLib.Family.CIVIL_UNION) self.fam_rel.append(family_handle) self.db.commit_family(family,self.trans) elif fgender == RelLib.Person.female or mgender == RelLib.Person.male: @@ -283,7 +283,7 @@ class CheckIntegrity: self.fam_rel.append(family_handle) self.db.commit_family(family,self.trans) elif fgender != mgender: - family.set_relationship(RelLib.Family._UNKNOWN) + family.set_relationship(RelLib.Family.UNKNOWN) self.fam_rel.append(family_handle) if fgender == RelLib.Person.female or mgender == RelLib.Person.male: family.set_father_handle(mother_handle)