Commit 014dba6a authored by Aurel's avatar Aurel

Fix indentation, this raise exception when a ZODB transaction fail


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4349 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a079ff7d
...@@ -811,7 +811,7 @@ try: ...@@ -811,7 +811,7 @@ try:
"A storage error occured during transaction " "A storage error occured during transaction "
"abort. This shouldn't happen.", "abort. This shouldn't happen.",
error=error) error=error)
raise error[0], error[1], error[2] raise error[0], error[1], error[2]
finally: finally:
del objects[:] # clear registered del objects[:] # clear registered
if not subtransaction and self._id is not None: if not subtransaction and self._id is not None:
......
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