Commit 9d77dcbb authored by Chris McDonough's avatar Chris McDonough

define "test" name, used by external code for import. This potentially makes...

define "test" name, used by external code for import.  This potentially makes existing revisions of PythonMethods work ok with the current trunk.
parent 7d4c1759
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file. # attributions are listed in the accompanying credits file.
# #
############################################################################## ##############################################################################
'''$Id: DT_Util.py,v 1.78 2001/06/18 18:13:09 chrism Exp $''' '''$Id: DT_Util.py,v 1.79 2001/06/18 18:44:45 chrism Exp $'''
__version__='$Revision: 1.78 $'[11:-2] __version__='$Revision: 1.79 $'[11:-2]
import re, os import re, os
from html_quote import html_quote # for import by other modules, dont remove! from html_quote import html_quote # for import by other modules, dont remove!
...@@ -91,6 +91,8 @@ from RestrictedPython.Guards import safe_builtins ...@@ -91,6 +91,8 @@ from RestrictedPython.Guards import safe_builtins
from RestrictedPython.Utilities import utility_builtins from RestrictedPython.Utilities import utility_builtins
from RestrictedPython.Eval import RestrictionCapableEval from RestrictedPython.Eval import RestrictionCapableEval
test = utility_builtins['test'] # for backwards compatibility, dont remove!
LIMITED_BUILTINS = 1 LIMITED_BUILTINS = 1
str=__builtins__['str'] # Waaaaa, waaaaaaaa needed for pickling waaaaa str=__builtins__['str'] # Waaaaa, waaaaaaaa needed for pickling waaaaa
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment