Commit 68921d17 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add _finalize to the class, because tpc_finish is called even when tpc_vote...

Add _finalize to the class, because tpc_finish is called even when tpc_vote was not called from time to time. Weird.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13761 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69995ba0
......@@ -63,6 +63,8 @@ class TransactionalVariable(TM, IterableUserDict):
"""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
......
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