[Zope-Checkins] CVS: Zope/lib/python/OFS - PropertyManager.py:1.46.6.6
Andreas Jung
andreas@andreas-jung.com
Sat, 7 Jun 2003 11:33:09 -0400
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv17060/lib/python/OFS
Modified Files:
Tag: Zope-2_6-branch
PropertyManager.py
Log Message:
Collector #907: delegating deletion of property
=== Zope/lib/python/OFS/PropertyManager.py 1.46.6.5 => 1.46.6.6 ===
--- Zope/lib/python/OFS/PropertyManager.py:1.46.6.5 Fri May 2 17:13:55 2003
+++ Zope/lib/python/OFS/PropertyManager.py Sat Jun 7 11:33:08 2003
@@ -199,7 +199,7 @@
def _delProperty(self, id):
if not self.hasProperty(id):
raise ValueError, 'The property %s does not exist' % escape(id)
- delattr(self,id)
+ self._delPropValue(id)
self._properties=tuple(filter(lambda i, n=id: i['id'] != n,
self._properties))