[Neo-report] r2565 vincent - /trunk/neo/master/transactions.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 23 11:11:17 CET 2010
Author: vincent
Date: Thu Dec 23 11:11:17 2010
New Revision: 2565
Log:
lock doesn't return anything now, but uses callback.
Modified:
trunk/neo/master/transactions.py
Modified: trunk/neo/master/transactions.py
==============================================================================
--- trunk/neo/master/transactions.py [iso-8859-1] (original)
+++ trunk/neo/master/transactions.py [iso-8859-1] Thu Dec 23 11:11:17 2010
@@ -373,7 +373,8 @@ class TransactionManager(object):
def lock(self, tid, uuid):
"""
Set that a node has locked the transaction.
- Returns True if all are now locked
+ If transaction is completely locked, calls function given at
+ instanciation time.
"""
assert tid in self._tid_dict, "Transaction not started"
txn = self._tid_dict[tid]
More information about the Neo-report
mailing list