[CMF-checkins] CVS: Products/CMFCore - DirectoryView.py:1.47.2.4
Jens Vagelpohl
jens at dataflake.org
Mon Mar 7 18:03:10 EST 2005
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv11664/CMFCore
Modified Files:
Tag: CMF-1_5-branch
DirectoryView.py
Log Message:
- CMFCore.DirectoryView: A special __setattr__ on the
DirectoryViewSurrogate class made sure to write changes through to the
underlying DirectoryView, but there was no equivalent __delattr__
cleanup. (http://www.zope.org/Collectors/CMF/316)
=== Products/CMFCore/DirectoryView.py 1.47.2.3 => 1.47.2.4 ===
--- Products/CMFCore/DirectoryView.py:1.47.2.3 Fri Oct 29 14:44:23 2004
+++ Products/CMFCore/DirectoryView.py Mon Mar 7 18:02:40 2005
@@ -437,6 +437,11 @@
d[name] = value
setattr(d['_real'], name, value)
+ def __delattr__(self, name):
+ d = self.__dict__
+ del d[name]
+ delattr(d['_real'], name)
+
security.declareProtected(ManagePortal, 'manage_propertiesForm')
manage_propertiesForm = DTMLFile( 'dirview_properties', _dtmldir )
More information about the CMF-checkins
mailing list