* src/plugins/Check.py (check_parent_relationships): typo

svn: r4239
This commit is contained in:
Martin Hawlisch
2005-03-26 15:00:05 +00:00
parent 40cec6825e
commit bfcd1b8a34
2 changed files with 4 additions and 2 deletions

View File

@ -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: