[Zope-Checkins] CVS: Zope2 - Compilers.py:1.1.2.4
shane@digicool.com
shane@digicool.com
Thu, 26 Apr 2001 18:01:08 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/RestrictedPython
In directory korak:/tmp/cvs-serv9278
Modified Files:
Tag: RestrictedPythonBranch
Compilers.py
Log Message:
oops
--- Updated File Compilers.py in package Zope2 --
--- Compilers.py 2001/04/26 21:58:33 1.1.2.3
+++ Compilers.py 2001/04/26 22:01:06 1.1.2.4
@@ -164,7 +164,7 @@
visitor.walk(tree, gen)
return gen.getCode(), (), rm.warnings, rm.used_names
-if 0:
+if 1:
def compile_restricted_eval(s, filename='<string>', nested_scopes=0):
'''Compile a restricted expression.'''
r = compile_restricted_exec('def f(): return \\\n' + s, filename,