Commit 597eba2a authored by Julien Anguenot's avatar Julien Anguenot

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

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