Commit 39b89e89 authored by Romain Courteaud's avatar Romain Courteaud

Remove useless import.

Add comment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17558 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df00fcd7
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment