Revision 436
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/xml_func.py | ||
---|---|---|
96 | 96 |
try: value = funcs[name](xml_dom.NodeTextEntryIter(node)) |
97 | 97 |
except SyntaxException, e: |
98 | 98 |
exc.add_msg(e, 'function:\n'+str(node)) |
99 |
xml_dom.remove(node) |
|
99 | 100 |
raise |
100 | 101 |
else: xml_dom.replace_with_text(node, value) |
101 | 102 |
else: |
Also available in: Unified diff
xml_func.py: Remove function nodes with syntax errors to prevent them from causing DatabaseErrors later