From edd5ad3e7967fdc6b7a06989c84675c331449ffe Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 16 Nov 2009 12:47:51 +0000 Subject: [PATCH] fix typos. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30661 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/mixin/rule.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/product/ERP5/mixin/rule.py b/product/ERP5/mixin/rule.py index 2d25bbc817..0d53e05c43 100644 --- a/product/ERP5/mixin/rule.py +++ b/product/ERP5/mixin/rule.py @@ -90,7 +90,7 @@ class RuleMixin: # Update movements # NOTE-JPS: it is OK to make rounding a standard parameter of rules # although rounding in simulation is not recommended at all - self.updateMovementCollection(applied_rule, movement_generator=self._geMovementGenerator()) + self.updateMovementCollection(applied_rule, movement_generator=self._getMovementGenerator()) # And forward expand for movement in applied_rule.getMovementList(): movement.expand(**kw) @@ -111,8 +111,8 @@ class RuleMixin: """ # We suppose here that we have an IMovementCollection in hand decision_movement_list = context.getMovementList() - prevision_movement_list = movement_generator(self._geMovementGeneratorContext(), - movement_list=self._geMovementGeneratorMovementList(), rounding=rounding) + prevision_movement_list = movement_generator(self._getMovementGeneratorContext(), + movement_list=self._getMovementGeneratorMovementList(), rounding=rounding) # Get divergence testers tester_list = self._getMatchingTesterList() @@ -213,19 +213,19 @@ class RuleMixin: movement.edit(**kw) # Placeholder for methods to override - def _geMovementGenerator(self): + def _getMovementGenerator(self): """ Return the movement generator to use in the expand process """ raise NotImplementedError - def _geMovementGeneratorContext(self): + def _getMovementGeneratorContext(self): """ Return the movement generator context to use for expand """ raise NotImplementedError - def _geMovementGeneratorMovementList(self): + def _getMovementGeneratorMovementList(self): """ Return the movement lists to provide to the movement generator """ -- 2.30.9