From bbb46e93c6818e6c5fadd43bd0cae5983a776ac8 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Sat, 26 Mar 2005 15:00:05 +0000 Subject: [PATCH] * src/plugins/Check.py (check_parent_relationships): typo svn: r4239 --- gramps2/ChangeLog | 2 ++ gramps2/src/plugins/Check.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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: