* various: transactions are now required for commits

svn: r3186
This commit is contained in:
Don Allingham
2004-05-24 04:32:19 +00:00
parent c174501b0f
commit eba1ed0ea1
38 changed files with 279 additions and 200 deletions

View File

@ -232,8 +232,8 @@ class CheckIntegrity:
select_clicked()
def cleanup_empty_families(self,automatic):
for key in self.db.get_family_keys():
family = self.db.find_family_from_id(key)
for family_id in self.db.get_family_keys():
family = self.db.find_family_from_id(family_id)
if not family.get_father_id() and not family.get_mother_id():
self.empty_family.append(family_id)
self.delete_empty_family(family_id)