[Erp5-report] r34414 jerome - /erp5/trunk/products/ERP5/interfaces/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 9 09:41:35 CEST 2010


Author: jerome
Date: Fri Apr  9 09:41:34 2010
New Revision: 34414

URL: http://svn.erp5.org?rev=34414&view=rev
Log:
interfaces should not have a "self" argument in method signatures

Modified:
    erp5/trunk/products/ERP5/interfaces/business_process.py
    erp5/trunk/products/ERP5/interfaces/divergence_controller.py
    erp5/trunk/products/ERP5/interfaces/rule.py
    erp5/trunk/products/ERP5/interfaces/variated.py
    erp5/trunk/products/ERP5/interfaces/variation_range.py

Modified: erp5/trunk/products/ERP5/interfaces/business_process.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/business_process.py?rev=34414&r1=34413&r2=34414&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/business_process.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/business_process.py [utf8] Fri Apr  9 09:41:34 2010
@@ -89,6 +89,6 @@
     cause of a root applied rule in the simulation
     """
 
-  def getTradePhaseList(self):
+  def getTradePhaseList():
     """Returns list of all trade_phase of this Business Process
     """

Modified: erp5/trunk/products/ERP5/interfaces/divergence_controller.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/divergence_controller.py?rev=34414&r1=34413&r2=34414&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/divergence_controller.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/divergence_controller.py [utf8] Fri Apr  9 09:41:34 2010
@@ -66,7 +66,7 @@
                 or a list thereof
     """
 
-  def getDivergenceList(self, movement=None):
+  def getDivergenceList(movement=None):
     """
     Returns a list of divergences of the movements provided
     in delivery_or_movement.

Modified: erp5/trunk/products/ERP5/interfaces/rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/rule.py?rev=34414&r1=34413&r2=34414&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/rule.py [utf8] Fri Apr  9 09:41:34 2010
@@ -37,8 +37,8 @@
   Documents which implement IRule can be used to
   expand applied rules in ERP5 simulation.
   """
-  def constructNewAppliedRule(self, context, id=None, 
-                                    activate_kw=None, **kw):
+  def constructNewAppliedRule(context, id=None,
+                              activate_kw=None, **kw):
     """
     Create a new applied rule in the context.
 

Modified: erp5/trunk/products/ERP5/interfaces/variated.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/variated.py?rev=34414&r1=34413&r2=34414&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/variated.py [utf8] Fri Apr  9 09:41:34 2010
@@ -78,7 +78,7 @@
     omit_individual_variation --
     """
 
-  def getVariationBaseCategoryItemList(self, display_id='title_or_id',
+  def getVariationBaseCategoryItemList(display_id='title_or_id',
         omit_optional_variation=0, omit_individual_variation=0):
     """
     returns a list of (base_category.id, base_category.display_id())
@@ -94,7 +94,7 @@
     omit_individual_variation --
     """
 
-  def getVariationCategoryList(self, base_category_list=(),
+  def getVariationCategoryList(base_category_list=(),
         omit_optional_variation=0, omit_individual_variation=0):
     """
     returns a list or relative URLs which defines
@@ -238,7 +238,7 @@
     """
 
   # Serialization API
-  def getVariationText(self):
+  def getVariationText():
     """
     returns a human readable, computer parsable,
     non ambiguous string representation of the variation

Modified: erp5/trunk/products/ERP5/interfaces/variation_range.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/variation_range.py?rev=34414&r1=34413&r2=34414&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/variation_range.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/variation_range.py [utf8] Fri Apr  9 09:41:34 2010
@@ -81,11 +81,11 @@
     XXX - missing default display ID
     """
 
-  def getMatrixVariationRangeBaseCategoryList(self):
+  def getMatrixVariationRangeBaseCategoryList():
     """
     return possible variation dimensions for a matrix
 
     Used in: Resource, Delivery Line
 
     XXX - missing default display ID
-    """
+    """




More information about the Erp5-report mailing list