Skip to content

Commit

Permalink
define "test" name, used by external code for import. This potentiall…
Browse files Browse the repository at this point in the history
…y makes existing revisions of PythonMethods work ok with the current trunk.
  • Loading branch information
mcdonc committed Jun 18, 2001
1 parent 0989957 commit 9d89cc8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DT_Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,17 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
'''$Id: DT_Util.py,v 1.78 2001/06/18 18:13:09 chrism Exp $'''
__version__='$Revision: 1.78 $'[11:-2]
'''$Id: DT_Util.py,v 1.79 2001/06/18 18:44:45 chrism Exp $'''
__version__='$Revision: 1.79 $'[11:-2]

import re, os
from html_quote import html_quote # for import by other modules, dont remove!
from RestrictedPython.Guards import safe_builtins
from RestrictedPython.Utilities import utility_builtins
from RestrictedPython.Eval import RestrictionCapableEval

test = utility_builtins['test'] # for backwards compatibility, dont remove!

LIMITED_BUILTINS = 1

str=__builtins__['str'] # Waaaaa, waaaaaaaa needed for pickling waaaaa
Expand Down

0 comments on commit 9d89cc8

Please sign in to comment.