From b4443856311eb12f1a7ad6fa880982a7999bee33 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 25 May 2005 17:20:47 +0000 Subject: [PATCH] * src/WriteGedcom.py (write_person): Typo. svn: r4677 --- gramps2/ChangeLog | 3 +++ gramps2/src/WriteGedcom.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 11eeeb080..8536b3a54 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-25 Alex Roitman + * src/WriteGedcom.py (write_person): Typo. + 2005-05-25 Richard Taylor * src/plugins/ScratchPad.py: disabled search because it does not do what the user expects. diff --git a/gramps2/src/WriteGedcom.py b/gramps2/src/WriteGedcom.py index 094c0abb4..e4bd06249 100644 --- a/gramps2/src/WriteGedcom.py +++ b/gramps2/src/WriteGedcom.py @@ -809,7 +809,7 @@ class GedcomWriter: death = self.db.get_event_from_handle(death_handle) 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 birth.get_description() != "": + if death.get_description() != "": self.writeln("1 DEAT %s" % death.get_description()) else: self.writeln("1 DEAT")