[Erp5-report] r44190 jerome - /erp5/trunk/products/ERP5/mixin/movement_collection_updater.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 11 15:46:22 CET 2011


Author: jerome
Date: Fri Mar 11 15:46:22 2011
New Revision: 44190

URL: http://svn.erp5.org?rev=44190&view=rev
Log:
try to make this message more self explanatory

Modified:
    erp5/trunk/products/ERP5/mixin/movement_collection_updater.py

Modified: erp5/trunk/products/ERP5/mixin/movement_collection_updater.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/movement_collection_updater.py?rev=44190&r1=44189&r2=44190&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/movement_collection_updater.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/movement_collection_updater.py [utf8] Fri Mar 11 15:46:22 2011
@@ -73,7 +73,9 @@ class MovementCollectionUpdaterMixin:
     # Get divergence testers
     tester_list = self._getMatchingTesterList()
     if not tester_list and len(prevision_movement_list) > 1:
-      raise ValueError("It is not possible to match movements without divergence testers")
+      raise ValueError("It is not possible to match movements from movement"
+          " collection updater %r, because it does not contain any tester"
+          " configured as matching provider" % (self, ))
 
     # Create small groups of movements per hash keys
     decision_movement_dict = {}



More information about the Erp5-report mailing list