Make merge and check handle empty families correctly

svn: r646
This commit is contained in:
Don Allingham
2001-12-20 18:50:09 +00:00
parent 498c37b810
commit a3cdadd56a
6 changed files with 68 additions and 53 deletions

View File

@@ -1385,7 +1385,7 @@ class Family:
def removeChild(self,person):
"""removes the specified Person from the child list"""
if person in self.Children:
self.Children.remove(person)
self.Children.remove(person)
if person.ancestor:
if self.Father:
self.Father.setAncestor(0)