bug 9954; fix Gedcom import for empty FAMC line

This commit is contained in:
prculley 2017-02-20 16:13:10 -06:00
parent f7bda7d51b
commit 5fe0a4df46

View File

@ -4555,6 +4555,9 @@ class GedcomParser(UpdateCallback):
@type state: CurrentState
"""
if not line.data: # handles empty FAMC line
self.__not_recognized(line, state)
return
sub_state = CurrentState()
sub_state.person = state.person
sub_state.level = state.level + 1