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