[Erp5-report] r10405 - /erp5/trunk/products/ERP5/Document/Rule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 28 16:06:40 CEST 2006
Author: jerome
Date: Thu Sep 28 16:06:39 2006
New Revision: 10405
URL: http://svn.erp5.org?rev=10405&view=rev
Log:
raise NotImplementedError instead of the non existant OperationalError
Modified:
erp5/trunk/products/ERP5/Document/Rule.py
Modified: erp5/trunk/products/ERP5/Document/Rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Rule.py?rev=10405&r1=10404&r2=10405&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Rule.py (original)
+++ erp5/trunk/products/ERP5/Document/Rule.py Thu Sep 28 16:06:39 2006
@@ -383,5 +383,5 @@
else:
# movement not modifiable, we can decide to create a compensation
# with negative quantity
- raise OperationalError, "Not Implemented"
+ raise NotImplementedError("Not Implemented")
return (add_list, modify_dict, delete_list)
More information about the Erp5-report
mailing list