[Erp5-report] r17558 - /erp5/trunk/products/ERP5Type/Interactor.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 13 15:24:52 CET 2007


Author: romain
Date: Tue Nov 13 15:24:51 2007
New Revision: 17558

URL: http://svn.erp5.org?rev=17558&view=rev
Log:
Remove useless import.
Add comment.

Modified:
    erp5/trunk/products/ERP5Type/Interactor.py

Modified: erp5/trunk/products/ERP5Type/Interactor.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Interactor.py?rev=17558&r1=17557&r2=17558&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Interactor.py (original)
+++ erp5/trunk/products/ERP5Type/Interactor.py Tue Nov 13 15:24:51 2007
@@ -1,7 +1,5 @@
 from Products.ERP5Type.Accessor.Accessor import Accessor as Method
 from Products.ERP5Type.Base import _aq_reset
-import Acquisition
-from Acquisition import aq_parent
 """
   Current implementation uses callable objects.
   Using decorator would be more modern and consistent with
@@ -20,6 +18,10 @@
 
 
 class InteractorMethodCall:
+  """
+  Method's wrapper used to keep arguments passed, in order to retrieve them
+  from before and after scripts if needed.
+  """
 
   def __init__(self, method, instance, *args, **kw):
     self.instance = instance




More information about the Erp5-report mailing list