[ZPT] CVS: Packages/Products/PageTemplates (Products/DC/PageTemplates) - CHANGES.txt:1.11 PythonExpr.py:1.4 ZPythonExpr.py:1.4 ZRPythonExpr.py:1.4
evan@serenade.digicool.com
evan@serenade.digicool.com
Thu, 21 Jun 2001 10:04:43 -0400
Update of /cvs-repository/Packages/Products/PageTemplates
In directory serenade:/home/evan/Zope/pt/lib/python/Products/PageTemplates
Modified Files:
CHANGES.txt PythonExpr.py ZPythonExpr.py ZRPythonExpr.py
Log Message:
Import CompilerError into *Python modules.
--- Updated File CHANGES.txt in package Packages/Products/PageTemplates --
--- CHANGES.txt 2001/06/21 14:03:55 1.10
+++ CHANGES.txt 2001/06/21 14:04:42 1.11
@@ -12,3 +12,4 @@
Bugs Fixed
+ - The various *Python modules failed to import CompilerError.
--- Updated File PythonExpr.py in package Packages/Products/PageTemplates --
--- PythonExpr.py 2001/06/14 21:03:30 1.3
+++ PythonExpr.py 2001/06/21 14:04:42 1.4
@@ -88,6 +88,7 @@
__version__='$Revision$'[11:-2]
+from TALES import CompilerError
from string import strip, split, join, replace, lstrip
class getSecurityManager:
--- Updated File ZPythonExpr.py in package Packages/Products/PageTemplates --
--- ZPythonExpr.py 2001/06/14 21:03:30 1.3
+++ ZPythonExpr.py 2001/06/21 14:04:42 1.4
@@ -94,6 +94,7 @@
from AccessControl import getSecurityManager
from Products.PythonScripts.Guarded import _marker, \
GuardedBlock, theGuard, safebin, WriteGuard, ReadGuard, UntupleFunction
+from TALES import CompilerError
from string import strip, split, join, replace, lstrip
from PythonExpr import PythonExpr
--- Updated File ZRPythonExpr.py in package Packages/Products/PageTemplates --
--- ZRPythonExpr.py 2001/06/14 21:03:30 1.3
+++ ZRPythonExpr.py 2001/06/21 14:04:42 1.4
@@ -93,6 +93,7 @@
from AccessControl import full_read_guard, full_write_guard, \
safe_builtins, getSecurityManager
from RestrictedPython import compile_restricted_eval
+from TALES import CompilerError
from string import strip, split, join, replace, lstrip
from PythonExpr import PythonExpr