Log message for revision 39835:
Don't recurse explicitely, and shut up deprecation warnings.
Changed:
U
Zope/branches/philikon-zope32-integration/lib/python/OFS/tests/testObjectManager.py
-=-
Modified:
Zope/branches/philikon-zope32-integration/lib/python/OFS/tests/testObjectManager.py
===================================================================
---
Zope/branches/philikon-zope32-integration/lib/python/OFS/tests/testObjectManager.py
2005-11-01 23:23:14 UTC (rev 39834)
+++
Zope/branches/philikon-zope32-integration/lib/python/OFS/tests/testObjectManager.py
2005-11-01 23:44:21 UTC (rev 39835)
@@ -46,8 +46,13 @@
self.before_delete_called = True
if self.fail_on_delete:
raise DeleteFailed
- return SimpleItem.manage_beforeDelete(self, item, container)
+ def manage_afterAdd(self, item, container):
+ pass
+
+ def manage_afterClone(self, item):
+ pass
+
from Products.Five.eventconfigure import setDeprecatedManageAddDelete
setDeprecatedManageAddDelete(ItemForDeletion)
_______________________________________________
Zope-Checkins maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-checkins