[Zope-Checkins] CVS: Zope2 - TreeTag.py:1.45.50.1

shane@digicool.com shane@digicool.com
Wed, 25 Apr 2001 16:26:40 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/TreeDisplay
In directory korak:/tmp/cvs-serv27222/lib/python/TreeDisplay

Modified Files:
      Tag: RestrictedPythonBranch
	TreeTag.py 
Log Message:
Replaced references to VSEval and expr_globals with simple references to the
restricted Eval class in DT_Util.



--- Updated File TreeTag.py in package Zope2 --
--- TreeTag.py	2000/12/18 19:25:44	1.45
+++ TreeTag.py	2001/04/25 20:26:38	1.45.50.1
@@ -130,8 +130,7 @@
             if has_key('branches'):
                 raise ParseError, _tm(
                     'branches and  and branches_expr given', 'tree')
-            args['branches_expr']=VSEval.Eval(
-                args['branches_expr'], expr_globals).eval
+            args['branches_expr']=Eval(args['branches_expr']).eval
         elif not has_key('branches'): args['branches']='tpValues'
 
         if not has_key('id'): args['id']='tpId'