Revision 332
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/xml_func.py | ||
---|---|---|
95 | 95 |
if name.startswith('_') and name in funcs: |
96 | 96 |
try: value = funcs[name](xml_dom.NodeTextEntryIter(node)) |
97 | 97 |
except SyntaxException, e: |
98 |
exc.add_msg(e, 'function: '+str(node))
|
|
98 |
exc.add_msg(e, 'function:\n'+str(node))
|
|
99 | 99 |
raise |
100 | 100 |
else: xml_dom.replace_with_text(node, value) |
101 | 101 |
else: |
Also available in: Unified diff
xml_func.py: Print newline before func XML because XML is now pretty-printed with indents