* src/GrampsDb/_WriteGedcom.py (write_person): Typo.

svn: r7715
This commit is contained in:
Alex Roitman 2006-11-27 03:17:26 +00:00
parent c689bcc39f
commit 7b2ac61ecb
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
* po/gramps.pot: updated
2006-11-26 Alex Roitman <shura@gramps-project.org>
* 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

View File

@ -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