diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 849d81f83..10913d521 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -3572,7 +3572,10 @@ class GedcomParser(UpdateCallback): @param state: The current state @type state: CurrentState """ - if line.data[0] == '@': + if line.data == '': + self.__add_msg(_("Empty Alias ignored"), line, state) + self.__skip_subordinate_levels(state.level+1, state) + elif line.data[0] == '@': handle = self.__find_person_handle(self.pid_map[line.data]) ref = PersonRef() ref.ref = handle