Commit 046bb0fa authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add missing oid argument for UndoError exception.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@388 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b2a6c8df
......@@ -699,7 +699,7 @@ class Application(object):
# end must be TID we are going to undone otherwise it means
# a later transaction modify the object
if end != transaction_id:
raise UndoError("non-undoable transaction")
raise UndoError("non-undoable transaction", oid)
data_dict[oid] = data
# Third do transaction with old data
......
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