diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index f8a057df5..ce909eb1a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-10-24 Alex Roitman + * src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap + confidence value. + 2006-10-23 Alex Roitman * configure.in: Bump up release number. * NEWS: Typo. diff --git a/gramps2/src/GrampsDb/_ReadGedcom.py b/gramps2/src/GrampsDb/_ReadGedcom.py index fff5ed706..23c1fb7bf 100644 --- a/gramps2/src/GrampsDb/_ReadGedcom.py +++ b/gramps2/src/GrampsDb/_ReadGedcom.py @@ -2116,6 +2116,8 @@ class GedcomParser(UpdateCallback): val = int(matches[2]) except ValueError: return + # If value is greater than 3, cap at 3 + val = min(val,3) if val > 1: source.set_confidence_level(val+1) else: