Bug 7949, crash on GEDCOM import with empty _AKA lines

This commit is contained in:
prculley 2016-05-02 11:46:04 -05:00
parent 57a963d0b2
commit b77089e97f

View File

@ -4347,6 +4347,8 @@ class GedcomParser(UpdateCallback):
attr.set_type(AttributeType.NICKNAME)
attr.set_value(line.data)
state.person.add_attribute(attr)
elif name_len == 0:
return
else:
name = Name()
surname = Surname()