2006-07-23 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
	default type for an event to CUSTOM



svn: r7061
This commit is contained in:
Don Allingham
2006-07-23 17:46:58 +00:00
parent 7c028d4691
commit d267e48ccf
2 changed files with 5 additions and 0 deletions

View File

@@ -2837,6 +2837,7 @@ class GedcomParser(UpdateCallback):
+1 <<EVENT_DETAIL>> {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])