* src/ReadGedcom.py (parse_source_reference): Ignore empty QUAY.
svn: r5349
This commit is contained in:
parent
8d466a146c
commit
b4237ed8df
@ -1,3 +1,6 @@
|
||||
2005-10-25 Alex Roitman <shura@gramps-project.org>
|
||||
* src/ReadGedcom.py (parse_source_reference): Ignore empty QUAY.
|
||||
|
||||
2005-10-24 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsCfg.py: signal_autoconnect changes
|
||||
* src/ImageSelect.py: signal_autoconnect changes
|
||||
|
@ -1722,7 +1722,10 @@ class GedcomParser:
|
||||
elif matches[1] in ["OBJE","REFN","TEXT"]:
|
||||
self.ignore_sub_junk(level+1)
|
||||
elif matches[1] == "QUAY":
|
||||
val = int(matches[2])
|
||||
try:
|
||||
val = int(matches[2])
|
||||
except ValueError:
|
||||
return
|
||||
if val > 1:
|
||||
source.set_confidence_level(val+1)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user