[ZPT] CVS: Packages/Products/PageTemplates (Products/DC/PageTemplates) - TALES.py:1.4 PageTemplate.py:1.5
shane@digicool.com
shane@digicool.com
Fri, 6 Apr 2001 10:23:52 -0400 (EDT)
Update of /cvs-repository/Packages/Products/PageTemplates
In directory korak:/tmp/cvs-serv30666
Modified Files:
TALES.py PageTemplate.py
Log Message:
Made runtime exceptions more readable.
--- Updated File TALES.py in package Packages/Products/PageTemplates --
--- TALES.py 2001/03/29 10:22:33 1.3
+++ TALES.py 2001/04/06 14:23:50 1.4
@@ -255,7 +255,7 @@
try:
return expression(self)
except:
- raise TALESError, (`expression`, sys.exc_info())
+ raise TALESError, (`expression`, sys.exc_info()), sys.exc_info()[2]
evaluateValue = evaluate
--- Updated File PageTemplate.py in package Packages/Products/PageTemplates --
--- PageTemplate.py 2001/03/29 10:21:56 1.4
+++ PageTemplate.py 2001/04/06 14:23:50 1.5
@@ -145,7 +145,7 @@
output = StringIO()
c = self.pt_getContext()
c.update(extra_context)
- __traceback_info__ = c
+ #__traceback_info__ = c
TALInterpreter(self._v_program, self._v_macros,
getEngine().getContext(c),