Fixed child->family link

svn: r870
This commit is contained in:
Don Allingham 2002-03-29 00:32:09 +00:00
parent eb69aa4546
commit a79bd1954c

View File

@ -505,7 +505,7 @@ class GedcomParser:
else: else:
if child.getMainParents() == self.family: if child.getMainParents() == self.family:
child.setMainParents(None) child.setMainParents(None)
child.addAltFamily(self.family,mrel,frel) child.addAltFamily(self.family,mrel,frel)
elif matches[1] == "NCHI": elif matches[1] == "NCHI":
a = Attribute() a = Attribute()
a.setType("Number of Children") a.setType("Number of Children")