* src/GenericFilter.py (FilterParser.startElement): Catch non existing filter rule and print an error message
svn: r4325
This commit is contained in:
parent
43ace45a9c
commit
a83de42a94
@ -9,6 +9,9 @@
|
||||
|
||||
* src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
|
||||
|
||||
* src/GenericFilter.py (FilterParser.startElement): Catch non existing
|
||||
filter rule and print an error message
|
||||
|
||||
2005-04-08 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
||||
* src/Utils.py (probably_alive): fix some bugs and added checking of ancestors.
|
||||
|
||||
|
@ -2336,7 +2336,10 @@ class FilterParser(handler.ContentHandler):
|
||||
cname = attrs['class']
|
||||
name = unicode(_(cname))
|
||||
self.a = []
|
||||
if name in tasks:
|
||||
self.cname = tasks[name]
|
||||
else:
|
||||
print "ERROR: Filter rule '%s' in filter '%s' not found!" % (name,self.f.get_name())
|
||||
elif tag == "arg":
|
||||
self.a.append(attrs['value'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user