From d9ce213fde9a865e7407815909ecc4abf7e9b145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 28 Sep 2006 14:06:39 +0000 Subject: [PATCH] raise NotImplementedError instead of the non existant OperationalError git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10405 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Rule.py b/product/ERP5/Document/Rule.py index ad3d839086..6170213c6e 100644 --- a/product/ERP5/Document/Rule.py +++ b/product/ERP5/Document/Rule.py @@ -383,5 +383,5 @@ class Rule(XMLObject, Predicate): 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) -- 2.30.9