[Erp5-report] r13761 - /erp5/trunk/products/ERP5Type/TransactionalVariable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 28 16:49:51 CEST 2007


Author: yo
Date: Wed Mar 28 16:49:49 2007
New Revision: 13761

URL: http://svn.erp5.org?rev=13761&view=rev
Log:
Add _finalize to the class, because tpc_finish is called even when tpc_vote was not called from time to time. Weird.

Modified:
    erp5/trunk/products/ERP5Type/TransactionalVariable.py

Modified: erp5/trunk/products/ERP5Type/TransactionalVariable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/TransactionalVariable.py?rev=13761&r1=13760&r2=13761&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/TransactionalVariable.py (original)
+++ erp5/trunk/products/ERP5Type/TransactionalVariable.py Wed Mar 28 16:49:49 2007
@@ -63,6 +63,8 @@
   """TransactionalVariable provides a dict-like look-n-feel.
   This class must not be used directly outside.
   """
+  _finalize = None
+
   def _begin(self, *ignored):
     """It is required to attach this instance to somewhere in
     ZODB so that _finish or _abort will be called at the end




More information about the Erp5-report mailing list