Commit 4ad28559 authored by Alexandre Boeglin's avatar Alexandre Boeglin

fix typos


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8303 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4aad693
......@@ -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 ;)
......
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