Project

General

Profile

« Previous | Next » 

Revision 300

Renamed ex.py to exc.py

View differences:

xml_func.py
2 2

  
3 3
import datetime
4 4

  
5
import ex
5
import exc
6 6
import xml_dom
7 7

  
8 8
class SyntaxException(Exception):
......
77 77
    if name.startswith('_') and name in funcs:
78 78
        try: value = funcs[name](xml_dom.NodeTextEntryIter(node))
79 79
        except SyntaxException, e:
80
            ex.add_msg(e, 'function: '+str(node))
80
            exc.add_msg(e, 'function: '+str(node))
81 81
            raise
82 82
        else: xml_dom.replace_with_text(node, value)
83 83
    else:

Also available in: Unified diff