Commit 19c979cb authored by Julien Anguenot's avatar Julien Anguenot

Fix : transaction().abort() -> transaction.abort()

parent 40150a5e
......@@ -857,7 +857,7 @@ def install_product(app, product_dir, product_name, meta_types,
list(Folder.Folder.__ac_permissions__)+new_permissions)
if not doInstall():
transaction().abort()
transaction.abort()
else:
transaction.get().note('Installed product '+product_name)
transaction.commit()
......
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