Commit 1decef02 authored by Jérome Perrin's avatar Jérome Perrin

fix typos


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44281 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5e69a0c8
...@@ -99,8 +99,8 @@ class IDivergenceTester(Interface): ...@@ -99,8 +99,8 @@ class IDivergenceTester(Interface):
def compare(prevision_movement, decision_movement): def compare(prevision_movement, decision_movement):
""" """
Returns True if prevision_movement and delivery_movement Returns True if prevision_movement and delivery_movement
match. Returns False else. The method is asymmetric and match. Returns False otherwise. The method is asymmetric and
the order of parameter matters. For example, a sourcing the order of parameters matters. For example, a sourcing
rule may use a tester which makes sure that movements are rule may use a tester which makes sure that movements are
delivered no sooner than 2 weeks before production but delivered no sooner than 2 weeks before production but
no later than the production date. no later than the production date.
...@@ -116,8 +116,8 @@ class IDivergenceTester(Interface): ...@@ -116,8 +116,8 @@ class IDivergenceTester(Interface):
def getUpdatablePropertyDict(prevision_movement, decision_movement): def getUpdatablePropertyDict(prevision_movement, decision_movement):
""" """
Returns a list of properties to update on decision_movement Returns a mapping of properties to update on decision_movement so that next
prevision_movement so that next call to compare returns True. call to compare against prevision_movement returns True.
prevision_movement -- a simulation movement (prevision) prevision_movement -- a simulation movement (prevision)
......
...@@ -119,8 +119,8 @@ class EquivalenceTesterMixin: ...@@ -119,8 +119,8 @@ class EquivalenceTesterMixin:
def compare(self, prevision_movement, decision_movement): def compare(self, prevision_movement, decision_movement):
""" """
Returns True if prevision_movement and delivery_movement Returns True if prevision_movement and delivery_movement
match. Returns False else. The method is asymmetric and match. Returns False otherwise. The method is asymmetric and
the order of parameter matters. For example, a sourcing the order of parameters matters. For example, a sourcing
rule may use a tester which makes sure that movements are rule may use a tester which makes sure that movements are
delivered no sooner than 2 weeks before production but delivered no sooner than 2 weeks before production but
no later than the production date. no later than the production date.
...@@ -202,8 +202,8 @@ class EquivalenceTesterMixin: ...@@ -202,8 +202,8 @@ class EquivalenceTesterMixin:
def getUpdatablePropertyDict(self, prevision_movement, decision_movement): def getUpdatablePropertyDict(self, prevision_movement, decision_movement):
""" """
Returns a list of properties to update on decision_movement Returns a mapping of properties to update on decision_movement so that next
prevision_movement so that next call to compare returns True. call to compare against prevision_movement returns True.
prevision_movement -- a simulation movement (prevision) prevision_movement -- a simulation movement (prevision)
......
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