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:
Don Allingham 2007-05-10 02:54:48 +00:00
parent c537f644d8
commit 71fc64718d
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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)