* src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap confidence value.
svn: r7433
This commit is contained in:
parent
71c928ca73
commit
80527732df
@ -1,3 +1,7 @@
|
||||
2006-10-24 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap
|
||||
confidence value.
|
||||
|
||||
2006-10-23 Alex Roitman <shura@gramps-project.org>
|
||||
* configure.in: Bump up release number.
|
||||
* NEWS: Typo.
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user