diff --git a/ChangeLog b/ChangeLog index 8e43976cb..95b6c6b14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-08-27 Don Allingham + * src/GrampsDb/_ReadGedcom.py: fix parsing index to correctly + identify levels for a RESI tag + 2006-08-27 Alex Roitman * src/GrampsDb/_WriteGedcom.py (GedcomWriter.gui_setup): Add a dialog about the researcher information. diff --git a/src/GrampsDb/_ReadGedcom.py b/src/GrampsDb/_ReadGedcom.py index 4abb74a02..39f90b966 100644 --- a/src/GrampsDb/_ReadGedcom.py +++ b/src/GrampsDb/_ReadGedcom.py @@ -2792,7 +2792,6 @@ class GedcomParser(UpdateCallback): note = "" while True: matches = self.get_next() - if self.level_is_finished(matches, state.level+1): break elif matches[1] == TOKEN_DATE: @@ -2814,7 +2813,7 @@ class GedcomParser(UpdateCallback): note = self.parse_note(matches, addr, state.level+1, '') elif matches[1] in (TOKEN_IGNORE, TOKEN_CAUS, TOKEN_STAT, TOKEN_TEMP, TOKEN_OBJE, TOKEN_TYPE): - self.ignore_sub_junk(state.level+1) + self.ignore_sub_junk(state.level+2) else: self.not_recognized(state.level+1)