From f3b80ac6b0367f3ecb28ac8ec859f715c62854d4 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 11 Sep 2004 23:24:08 +0000 Subject: [PATCH] * src/ReadGedcom.py (parse_person_event): Use TYPE field as the description of the event, if the event already has a name. svn: r3535 --- gramps2/ChangeLog | 4 ++++ gramps2/src/ReadGedcom.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index ff71532bb..762b9c5e7 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2004-09-11 Alex Roitman + * src/ReadGedcom.py (parse_person_event): Use TYPE field as + the description of the event, if the event already has a name. + 2004-09-10 Alex Roitman * src/GrampsDbBase.py: Fix assert statements. diff --git a/gramps2/src/ReadGedcom.py b/gramps2/src/ReadGedcom.py index 1cf4357cb..27286956c 100644 --- a/gramps2/src/ReadGedcom.py +++ b/gramps2/src/ReadGedcom.py @@ -1203,6 +1203,8 @@ class GedcomParser: else: name = matches[2] event.set_name(name) + else: + event.set_description(matches[2]) elif matches[1] == "DATE": event.set_date_object(self.extract_date(matches[2])) elif matches[1] == "SOUR":