Commit e035757c authored by 's avatar

Changed default position info (lineno, offset) to (None, None).

parent 61ea6032
......@@ -306,7 +306,7 @@ class TALGenerator:
return newlist
def emitStartElement(self, name, attrlist, taldict, metaldict,
position=None):
position=(None, None)):
for key in taldict.keys():
if key not in KNOWN_TAL_ATTRIBUTES:
raise TALError("bad TAL attribute: " + `key`, position)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment