[Zope-Checkins] CVS: Zope2 - DTML.py:1.3.8.2
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Thu, 17 May 2001 12:06:45 -0400
Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory serenade:/tmp/cvs-serv30788
Modified Files:
Tag: ajung-dtml-sort
DTML.py
Log Message:
--- Updated File DTML.py in package Zope2 --
--- DTML.py 2001/05/15 19:14:22 1.3.8.1
+++ DTML.py 2001/05/17 16:06:45 1.3.8.2
@@ -88,7 +88,8 @@
__version__='$Revision$'[11:-2]
from DocumentTemplate import DT_Util
-import SecurityManagement, string, math, whrandom, random, sequence
+import SecurityManagement, string, math, whrandom, random
+import DocumentTemplate.sequence
# Allow access to unprotected attributes
DT_Util.TemplateDict.__allow_access_to_unprotected_subobjects__=1
@@ -96,7 +97,8 @@
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
+
+DocumentTemplate.sequence.__allow_access_to_unprotected_subobjects__=1
# Add security testing capabilities