* src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap confidence value.
svn: r7433
This commit is contained in:
parent
148a6d6d7d
commit
4d4de1bf90
@ -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>
|
2006-10-23 Alex Roitman <shura@gramps-project.org>
|
||||||
* configure.in: Bump up release number.
|
* configure.in: Bump up release number.
|
||||||
* NEWS: Typo.
|
* NEWS: Typo.
|
||||||
|
@ -2116,6 +2116,8 @@ class GedcomParser(UpdateCallback):
|
|||||||
val = int(matches[2])
|
val = int(matches[2])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return
|
return
|
||||||
|
# If value is greater than 3, cap at 3
|
||||||
|
val = min(val,3)
|
||||||
if val > 1:
|
if val > 1:
|
||||||
source.set_confidence_level(val+1)
|
source.set_confidence_level(val+1)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user