[ZPT] CVS: Packages/TAL - TALGenerator.py:1.16
guido@digicool.com
guido@digicool.com
Fri, 16 Mar 2001 15:42:45 -0500 (EST)
Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv12063
Modified Files:
TALGenerator.py
Log Message:
Make the position argument to emitStartElemtnt() optional, so we don't
break the use from TALParser.
--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py 2001/03/16 20:38:05 1.15
+++ TALGenerator.py 2001/03/16 20:42:44 1.16
@@ -306,7 +306,7 @@
return newlist
def emitStartElement(self, name, attrlist, taldict, metaldict,
- position):
+ position=None):
for key in taldict.keys():
if key not in KNOWN_TAL_ATTRIBUTES:
raise TALError("bad TAL attribute: " + `key`, position)