2007-05-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_name_aka): patch submitted on bug tracker for AKA parameter missing (#1034) svn: r8455
This commit is contained in:
parent
f4b8a179cc
commit
2b44e51d6f
@ -1,3 +1,7 @@
|
||||
2007-05-09 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_name_aka): patch submitted
|
||||
on bug tracker for AKA parameter missing (#1034)
|
||||
|
||||
2007-05-09 Benny Malengier <bm@cage.ugent.be>
|
||||
* src/glade/gramps.glade: fix #797
|
||||
|
||||
|
@ -3154,6 +3154,10 @@ class GedcomParser(UpdateCallback):
|
||||
|
||||
lname = matches[2].split()
|
||||
l = len(lname)
|
||||
if not l:
|
||||
log.warning("IGNORED empty AKA (near line %d) for %s" % (
|
||||
self.lexer.index, NameDisplay.displayer.display(state.person)))
|
||||
return
|
||||
if l == 1:
|
||||
attr = RelLib.Attribute()
|
||||
attr.set_type(RelLib.AttributeType.NICKNAME)
|
||||
|
Loading…
Reference in New Issue
Block a user