[Erp5-report] r40257 arnaud.fontaine - /erp5/trunk/products/ERP5Type/patches/ObjectManager.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 15 08:45:34 CET 2010


Author: arnaud.fontaine
Date: Mon Nov 15 08:45:33 2010
New Revision: 40257

URL: http://svn.erp5.org?rev=40257&view=rev
Log:
Revert adding suppress_events to _setObject as it is not available in
Zope 2.8


Modified:
    erp5/trunk/products/ERP5Type/patches/ObjectManager.py

Modified: erp5/trunk/products/ERP5Type/patches/ObjectManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/ObjectManager.py?rev=40257&r1=40256&r2=40257&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/ObjectManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/ObjectManager.py [utf8] Mon Nov 15 08:45:33 2010
@@ -15,8 +15,7 @@
 # Import: add rename feature and make _importObjectFromFile return the object
 from OFS.ObjectManager import ObjectManager, customImporters
 
-def ObjectManager_importObjectFromFile(self, filepath, verify=1, set_owner=1,
-                                       id=None, suppress_events=False):
+def ObjectManager_importObjectFromFile(self, filepath, verify=1, set_owner=1, id=None):
     #LOG('_importObjectFromFile, filepath',0,filepath)
     # locate a valid connection
     connection=self._p_jar
@@ -31,8 +30,7 @@ def ObjectManager_importObjectFromFile(s
     if id is None:
       id=ob.id
     if hasattr(id, 'im_func'): id=id()
-    self._setObject(id, ob, set_owner=set_owner,
-                    suppress_events=suppress_events)
+    self._setObject(id, ob, set_owner=set_owner)
 
     # try to make ownership implicit if possible in the context
     # that the object was imported into.




More information about the Erp5-report mailing list