[ZPT] CVS: Packages/TAL - TALGenerator.py:1.17

tim@digicool.com tim@digicool.com
Fri, 16 Mar 2001 16:00:01 -0500 (EST)


Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv13075

Modified Files:
	TALGenerator.py 
Log Message:
Changed default position info (lineno, offset) to (None, None).



--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py	2001/03/16 20:42:44	1.16
+++ TALGenerator.py	2001/03/16 21:00:01	1.17
@@ -306,7 +306,7 @@
         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)