[Zope-Checkins] CVS: Zope2 - DTML.py:1.3.8.1

andreas@serenade.digicool.com andreas@serenade.digicool.com
Tue, 15 May 2001 15:14:22 -0400


Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory serenade:/tmp/cvs-serv17343/lib/python/AccessControl

Modified Files:
      Tag: ajung-dtml-sort
	DTML.py 
Log Message:
allowing to access sequence.py  module (ExtendedDTMLSorting)



--- Updated File DTML.py in package Zope2 --
--- DTML.py	2001/04/27 20:27:37	1.3
+++ DTML.py	2001/05/15 19:14:22	1.3.8.1
@@ -88,7 +88,7 @@
 __version__='$Revision$'[11:-2]
 
 from DocumentTemplate import DT_Util
-import SecurityManagement, string, math, whrandom, random
+import SecurityManagement, string, math, whrandom, random, sequence
 
 # Allow access to unprotected attributes
 DT_Util.TemplateDict.__allow_access_to_unprotected_subobjects__=1
@@ -96,6 +96,7 @@
 math.__allow_access_to_unprotected_subobjects__=1
 whrandom.__allow_access_to_unprotected_subobjects__=1
 random.__allow_access_to_unprotected_subobjects__=1
+sequence.__allow_access_to_unprotected_subobjects__=1
 
 # Add security testing capabilities