From 4ad2855951ffbf24c528c56f604ef1aaa0ed718d Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Tue, 4 Jul 2006 09:08:18 +0000 Subject: [PATCH] fix typos git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8303 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/MovementGroup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py index 70c3d5f743..ea673ce532 100644 --- a/product/ERP5/MovementGroup.py +++ b/product/ERP5/MovementGroup.py @@ -642,14 +642,14 @@ allow_class(VariationPropertyMovementGroup) class FakeMovement: """ - A fake movement which simulate some methods on a movement needed + A fake movement which simulates some methods on a movement needed by DeliveryBuilder. - It contents a list a real ERP5 Movement and can modify them. + It contains a list of real ERP5 Movements and can modify them. """ def __init__(self, movement_list): """ - Create a fake movement and store the list of real movement + Create a fake movement and store the list of real movements """ self.__price_method = None self.__quantity_method = None @@ -658,7 +658,7 @@ class FakeMovement: self.append(movement) # This object must not be use when there is not 2 or more movements if len(movement_list) < 2: - raise ValueError, "FakeMovement used where it does not." + raise ValueError, "FakeMovement used where it should not." # All movements must share the same getVariationCategoryList # So, verify and raise a error if not # But, if DeliveryBuilder is well configured, this can never append ;) -- 2.30.9