svn: r7716
This commit is contained in:
Alex Roitman 2006-11-27 03:20:37 +00:00
parent f7e5bfbe48
commit 16b3376f94

View File

@ -1123,9 +1123,9 @@ class GedcomWriter(UpdateCallback):
for child_ref in family.get_child_ref_list(): for child_ref in family.get_child_ref_list():
if child_ref.ref == person.handle: if child_ref.ref == person.handle:
if (child_ref.frel == if (child_ref.frel ==
RelLib.ChildRef.ADOPTED) \ RelLib.ChildRefType.ADOPTED) \
or (child_ref.mrel \ or (child_ref.mrel \
== RelLib.ChildRef.ADOPTED): == RelLib.ChildRefType.ADOPTED):
self.writeln("2 PEDI Adopted") self.writeln("2 PEDI Adopted")
break break