* src/WriteGedcom.py (write_person): Typo.

svn: r4677
This commit is contained in:
Alex Roitman 2005-05-25 17:20:47 +00:00
parent 6dd80f4955
commit b444385631
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-05-25 Alex Roitman <shura@gramps-project.org>
* src/WriteGedcom.py (write_person): Typo.
2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: disabled search because it does not do * src/plugins/ScratchPad.py: disabled search because it does not do
what the user expects. what the user expects.

View File

@ -809,7 +809,7 @@ class GedcomWriter:
death = self.db.get_event_from_handle(death_handle) death = self.db.get_event_from_handle(death_handle)
if death_handle and death and not (self.private and death.get_privacy()): if death_handle and death and not (self.private and death.get_privacy()):
if not death.get_date_object().is_empty() or death.get_place_handle(): if not death.get_date_object().is_empty() or death.get_place_handle():
if birth.get_description() != "": if death.get_description() != "":
self.writeln("1 DEAT %s" % death.get_description()) self.writeln("1 DEAT %s" % death.get_description())
else: else:
self.writeln("1 DEAT") self.writeln("1 DEAT")