[Erp5-report] r44281 jerome - in /erp5/trunk/products/ERP5: interfaces/ mixin/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 15 10:07:28 CET 2011
Author: jerome
Date: Tue Mar 15 10:07:28 2011
New Revision: 44281
URL: http://svn.erp5.org?rev=44281&view=rev
Log:
fix typos
Modified:
erp5/trunk/products/ERP5/interfaces/divergence_tester.py
erp5/trunk/products/ERP5/mixin/equivalence_tester.py
Modified: erp5/trunk/products/ERP5/interfaces/divergence_tester.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/divergence_tester.py?rev=44281&r1=44280&r2=44281&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/divergence_tester.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/divergence_tester.py [utf8] Tue Mar 15 10:07:28 2011
@@ -99,8 +99,8 @@ class IDivergenceTester(Interface):
def compare(prevision_movement, decision_movement):
"""
Returns True if prevision_movement and delivery_movement
- match. Returns False else. The method is asymmetric and
- the order of parameter matters. For example, a sourcing
+ match. Returns False otherwise. The method is asymmetric and
+ the order of parameters matters. For example, a sourcing
rule may use a tester which makes sure that movements are
delivered no sooner than 2 weeks before production but
no later than the production date.
@@ -116,8 +116,8 @@ class IDivergenceTester(Interface):
def getUpdatablePropertyDict(prevision_movement, decision_movement):
"""
- Returns a list of properties to update on decision_movement
- prevision_movement so that next call to compare returns True.
+ Returns a mapping of properties to update on decision_movement so that next
+ call to compare against prevision_movement returns True.
prevision_movement -- a simulation movement (prevision)
Modified: erp5/trunk/products/ERP5/mixin/equivalence_tester.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/equivalence_tester.py?rev=44281&r1=44280&r2=44281&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/equivalence_tester.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/equivalence_tester.py [utf8] Tue Mar 15 10:07:28 2011
@@ -119,8 +119,8 @@ class EquivalenceTesterMixin:
def compare(self, prevision_movement, decision_movement):
"""
Returns True if prevision_movement and delivery_movement
- match. Returns False else. The method is asymmetric and
- the order of parameter matters. For example, a sourcing
+ match. Returns False otherwise. The method is asymmetric and
+ the order of parameters matters. For example, a sourcing
rule may use a tester which makes sure that movements are
delivered no sooner than 2 weeks before production but
no later than the production date.
@@ -202,8 +202,8 @@ class EquivalenceTesterMixin:
def getUpdatablePropertyDict(self, prevision_movement, decision_movement):
"""
- Returns a list of properties to update on decision_movement
- prevision_movement so that next call to compare returns True.
+ Returns a mapping of properties to update on decision_movement so that next
+ call to compare against prevision_movement returns True.
prevision_movement -- a simulation movement (prevision)
More information about the Erp5-report
mailing list