From 39b89e892b76cd0ece1a41558f2ecf968488c3d4 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 13 Nov 2007 14:24:51 +0000 Subject: [PATCH] Remove useless import. Add comment. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17558 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Interactor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/Interactor.py b/product/ERP5Type/Interactor.py index d00317a68f..1eba91bc8f 100644 --- a/product/ERP5Type/Interactor.py +++ b/product/ERP5Type/Interactor.py @@ -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 @@ from Acquisition import aq_parent 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 -- 2.30.9