[Erp5-report] r26928 - /erp5/trunk/products/ERP5/InteractionWorkflow.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 12 14:41:35 CEST 2009
Author: jerome
Date: Tue May 12 14:41:34 2009
New Revision: 26928
URL: http://svn.erp5.org?rev=26928&view=rev
Log:
use transcation module
Modified:
erp5/trunk/products/ERP5/InteractionWorkflow.py
Modified: erp5/trunk/products/ERP5/InteractionWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/InteractionWorkflow.py?rev=26928&r1=26927&r2=26928&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/InteractionWorkflow.py [utf8] (original)
+++ erp5/trunk/products/ERP5/InteractionWorkflow.py [utf8] Tue May 12 14:41:34 2009
@@ -16,6 +16,7 @@
#
##############################################################################
+import transaction
import Globals
import App
from types import StringTypes
@@ -302,7 +303,6 @@
script(sci) # May throw an exception
# Execute Before Commit
- transaction = get_transaction()
for script_name in tdef.before_commit_script_name:
script = self.scripts[script_name]
transaction.beforeCommitHook(script, sci)
More information about the Erp5-report
mailing list