* src/GrampsDb/_WriteGedcom.py (write_source_ref): Cap confidence.
svn: r7434
This commit is contained in:
parent
4d4de1bf90
commit
f70b24d0e9
@ -1,6 +1,7 @@
|
|||||||
2006-10-24 Alex Roitman <shura@gramps-project.org>
|
2006-10-24 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap
|
* src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap
|
||||||
confidence value.
|
confidence value.
|
||||||
|
* src/GrampsDb/_WriteGedcom.py (write_source_ref): Cap confidence.
|
||||||
|
|
||||||
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.
|
||||||
|
@ -1389,6 +1389,8 @@ class GedcomWriter(UpdateCallback):
|
|||||||
self.cnvtxt(ref.get_page()))
|
self.cnvtxt(ref.get_page()))
|
||||||
|
|
||||||
conf = ref.get_confidence_level()
|
conf = ref.get_confidence_level()
|
||||||
|
# Cap the maximum level
|
||||||
|
conf = min(conf,RelLib.SourceRef.CONF_VERY_HIGH)
|
||||||
if conf != RelLib.SourceRef.CONF_NORMAL:
|
if conf != RelLib.SourceRef.CONF_NORMAL:
|
||||||
self.write_long_text("QUAY",level+1, str(quay_map[conf]))
|
self.write_long_text("QUAY",level+1, str(quay_map[conf]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user