* src/ReadGedcom.py (parse_person_event): Use TYPE field as the description of the event, if the event already has a name.
svn: r3535
This commit is contained in:
parent
e452661db4
commit
0b77a1a3a5
@ -1,3 +1,7 @@
|
||||
2004-09-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* 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 <shura@alex.neuro.umn.edu>
|
||||
* src/GrampsDbBase.py: Fix assert statements.
|
||||
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user