From 0b77a1a3a582abe0d48a40abef2bbeec0d94642e 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 --- ChangeLog | 4 ++++ src/ReadGedcom.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ff71532bb..762b9c5e7 100644 --- a/ChangeLog +++ b/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/src/ReadGedcom.py b/src/ReadGedcom.py index 1cf4357cb..27286956c 100644 --- a/src/ReadGedcom.py +++ b/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":