Commit d9ce213f authored by Jérome Perrin's avatar Jérome Perrin

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
parent 93b03c81
...@@ -383,5 +383,5 @@ class Rule(XMLObject, Predicate): ...@@ -383,5 +383,5 @@ class Rule(XMLObject, Predicate):
else: else:
# movement not modifiable, we can decide to create a compensation # movement not modifiable, we can decide to create a compensation
# with negative quantity # with negative quantity
raise OperationalError, "Not Implemented" raise NotImplementedError("Not Implemented")
return (add_list, modify_dict, delete_list) return (add_list, modify_dict, delete_list)
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