From 96db84f14350da54c5936d65db403b6a5134e4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 9 Jun 2009 12:58:37 +0000 Subject: [PATCH] - remove not needed parameters for methods in interface definitions git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27472 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/interfaces/transformation.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/product/ERP5/interfaces/transformation.py b/product/ERP5/interfaces/transformation.py index 74903564f1..2d2d43b264 100644 --- a/product/ERP5/interfaces/transformation.py +++ b/product/ERP5/interfaces/transformation.py @@ -37,14 +37,12 @@ class ITransformation(Interface): Models (TaxModelLine, InvoiceModelLine) shall be based on this interface """ - def getAggregatedAmountList(context, **kw): + def getAggregatedAmountList(context): """Returns implementation specific AggregatedAmountList of amounts generated by set of rules context - represents object for which calculation shall happen - **kw - contains implementations specific parameters - The method returns an instance of AggregatedAmountList class defined at ERP5/AggregatedAmountList.py @@ -55,13 +53,11 @@ class ITransformation(Interface): """ pass - def updateAggregatedAmountList(context, **kw): + def updateAggregatedAmountList(context): """Updates currently existing movements on delivery context - represents object on which update shall happen - **kw - contains implementations specific parameters - The method return a dict of list of movements : 'movement_to_add_list' and 'movement_to_delete_list'. """ -- 2.30.9