diff --git a/ChangeLog b/ChangeLog index 09c199f54..ab18f51c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * po/gramps.pot: updated 2006-11-26 Alex Roitman + * src/GrampsDb/_WriteGedcom.py (write_person): Typo. * src/plugins/Check.py (check_for_broken_family_links): Check if child is one of the parents. * src/GrampsDb/_GrampsBSDDB.py (load): Clean env for a new grdb diff --git a/src/GrampsDb/_WriteGedcom.py b/src/GrampsDb/_WriteGedcom.py index d7c8b3d7a..2dd26b1e2 100644 --- a/src/GrampsDb/_WriteGedcom.py +++ b/src/GrampsDb/_WriteGedcom.py @@ -1123,9 +1123,9 @@ class GedcomWriter(UpdateCallback): for child_ref in family.get_child_ref_list(): if child_ref.ref == person.handle: if (child_ref.frel == - RelLib.ChildRef.CHILD_ADOPTED) \ + RelLib.ChildRef.ADOPTED) \ or (child_ref.mrel \ - == RelLib.ChildRef.CHILD_ADOPTED): + == RelLib.ChildRef.ADOPTED): self.writeln("2 PEDI Adopted") break