2007-01-02 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_WriteGedcom.py: handle illegal confidence
	* src/RelLib/_Person.py: set_parent_family_list
	* src/Editors/_EditPerson.py: catch family changes



svn: r7865
This commit is contained in:
Don Allingham
2007-01-03 02:37:34 +00:00
parent cdb76d6209
commit 8f12743e79
4 changed files with 40 additions and 6 deletions

View File

@@ -1390,7 +1390,7 @@ class GedcomWriter(UpdateCallback):
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 and conf != -1:
self.write_long_text("QUAY",level+1, str(quay_map[conf]))
ref_text = ref.get_text()