svn: r4386
This commit is contained in:
Don Allingham 2005-04-20 19:19:27 +00:00
parent 2603fb3c21
commit 2725773aa0

View File

@ -981,8 +981,8 @@ class GedcomParser:
break
else:
if ftype in rel_types:
self.person.add_parent_family_handle(handle,
RelLib.Person.CHILD_REL_BIRTH,
self.person.add_parent_family_handle(
handle, RelLib.Person.CHILD_REL_BIRTH,
RelLib.Person.CHILD_REL_BIRTH)
else:
if self.person.get_main_parents_family_handle() == handle:
@ -1427,8 +1427,8 @@ class GedcomParser:
self.barf(level+1)
def parse_adopt_famc(self,level):
mrel = "Adopted"
frel = "Adopted"
mrel = RelLib.Person.CHILD_REL_ADOPT
frel = RelLib.Person.CHILD_REL_ADOPT
while 1:
matches = self.get_next()
if int(matches[0]) < level: