diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 08e2426dc..b744b6a2c 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -2,6 +2,8 @@ * src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database + * src/plugins/Check.py (check_parent_relationships): typo + 2005-03-25 Richard Taylor * src/ScratchPad.py (ScratchPadWindow): moved content of pad to a class attribute so that it is preserved when the pad is closed. diff --git a/gramps2/src/plugins/Check.py b/gramps2/src/plugins/Check.py index 9855b8246..b550ee662 100644 --- a/gramps2/src/plugins/Check.py +++ b/gramps2/src/plugins/Check.py @@ -234,8 +234,8 @@ class CheckIntegrity: self.db.remove_family(family_handle,self.trans) def check_parent_relationships(self): - for key in self.db.get_family_handles(): - family = self.db.get_family_from_handle(key) + for family_handle in self.db.get_family_handles(): + family = self.db.get_family_from_handle(family_handle) mother_handle = family.get_mother_handle() father_handle = family.get_father_handle() if father_handle: