Fixed mrel/frel adoption checking

svn: r1126
This commit is contained in:
Don Allingham 2002-08-21 13:04:05 +00:00
parent 7f0f45cb7b
commit 6edd3ee8a2

View File

@ -649,7 +649,7 @@ class GedcomWriter:
for f in person.getParentList(): for f in person.getParentList():
mrel = string.lower(f[1]) mrel = string.lower(f[1])
frel = string.lower(f[2]) frel = string.lower(f[2])
if mrel=="adopted" or mrel=="adopted": if mrel=="adopted" or frel=="adopted":
fam = f[0] fam = f[0]
break break
if fam: if fam:
@ -675,7 +675,7 @@ class GedcomWriter:
for f in person.getParentList(): for f in person.getParentList():
mrel = string.lower(f[1]) mrel = string.lower(f[1])
frel = string.lower(f[2]) frel = string.lower(f[2])
if mrel=="adopted" or mrel=="adopted": if mrel=="adopted" or frel=="adopted":
fam = f[0] fam = f[0]
break break
if fam: if fam: