Fixed mrel/frel adoption checking
svn: r1126
This commit is contained in:
parent
7f0f45cb7b
commit
6edd3ee8a2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user