[Zope-Checkins] CVS: Zope/lib/python/OFS - DTMLMethod.py:1.68.4.1

Steve Alexander steve@cat-box.net
Fri, 5 Oct 2001 09:03:57 -0400


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv4543/lib/python/OFS

Modified Files:
      Tag: stevea_zcatalog_api_cruft_cleanup-branch
	DTMLMethod.py 
Log Message:
Updated stevea_zcatalog_api_cruft_cleanup to be in synch with HEAD


=== Zope/lib/python/OFS/DTMLMethod.py 1.68 => 1.68.4.1 ===
         security=getSecurityManager()
         security.addContext(self)
-        self.validate = security.DTMLValidate
+        self.__dict__['validate'] = security.DTMLValidate
         try:
         
             if client is None:
@@ -200,7 +200,7 @@
 
         finally:
             security.removeContext(self)
-            del self.validate
+            del self.__dict__['validate']
 
         have_key=RESPONSE.headers.has_key
         if not (have_key('content-type') or have_key('Content-Type')):