[Zope-Checkins] SVN: Zope/branches/philikon-zope32-integration/lib/python/OFS/tests/testObjectManager.py Don't recurse explicitely, and shut up deprecation warnings.

Florent Guillaume fg at nuxeo.com
Tue Nov 1 18:44:22 EST 2005


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)
 



More information about the Zope-Checkins mailing list