Commit a9087007 authored by Stefan H. Holek's avatar Stefan H. Holek

utils.appcall(), too, must abort before closing the connection, just in case

something went wrong during execution of 'function'.
parent 75964156
......@@ -147,6 +147,7 @@ def appcall(function, *args, **kw):
try:
return function(*args, **kw)
finally:
transaction.abort()
close(app)
......
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