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

guido@digicool.com guido@digicool.com
Tue, 27 Mar 2001 10:40:09 -0500 (EST)


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

Modified Files:
	DummyEngine.py 
Log Message:
Fix a typo in the raise statement about an unknown variable.



--- Updated File DummyEngine.py in package Packages/TAL --
--- DummyEngine.py	2001/03/26 22:10:06	1.16
+++ DummyEngine.py	2001/03/27 15:40:09	1.17
@@ -142,7 +142,7 @@
             elif self.globals.has_key(expr):
                 return self.globals[expr]
             else:
-                raise TALESError("unknown variable: %s", expr)
+                raise TALESError("unknown variable: %s" % `expr`)
         if type == "not":
             v = self.evaluate(expr)
             return not v