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:
parent
7c028d4691
commit
d267e48ccf
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
||||
2006-07-23 Alex Roitman <shura@gramps-project.org>
|
||||
* src/Filters/Rules/Person/_IsLessThanNthGenerationDescendantOf.py
|
||||
(IsLessThanNthGenerationDescendantOf.init_list): Use new API.
|
||||
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user