From ea3f390b632562c0757c7757849340e1d1427aab Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 23 Jul 2006 17:46:58 +0000 Subject: [PATCH] 2006-07-23 Don Allingham * src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set default type for an event to CUSTOM svn: r7061 --- gramps2/ChangeLog | 4 ++++ gramps2/src/GrampsDb/_ReadGedcom.py | 1 + 2 files changed, 5 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7bbec5850..abec1494d 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-07-23 Don Allingham + * src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set + default type for an event to CUSTOM + 2006-07-23 Alex Roitman * src/Filters/Rules/Person/_IsLessThanNthGenerationDescendantOf.py (IsLessThanNthGenerationDescendantOf.init_list): Use new API. diff --git a/gramps2/src/GrampsDb/_ReadGedcom.py b/gramps2/src/GrampsDb/_ReadGedcom.py index d32a466b2..8bd1906d2 100644 --- a/gramps2/src/GrampsDb/_ReadGedcom.py +++ b/gramps2/src/GrampsDb/_ReadGedcom.py @@ -2837,6 +2837,7 @@ class GedcomParser(UpdateCallback): +1 <> {0:1} p.* """ event = RelLib.Event() + event.set_type((RelLib.EventType.CUSTOM,"")) event.set_gramps_id(self.emapper.find_next()) if matches[2] and matches[2] != 'Y': event.set_description(matches[2])