[CMF-checkins] CVS: Products/CMFCore - DirectoryView.py:1.52
Jens Vagelpohl
jens at dataflake.org
Mon Mar 7 18:03:35 EST 2005
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv11745/CMFCore
Modified Files:
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.51 => 1.52 ===
--- Products/CMFCore/DirectoryView.py:1.51 Sun Mar 6 07:29:02 2005
+++ Products/CMFCore/DirectoryView.py Mon Mar 7 18:03:04 2005
@@ -441,6 +441,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