[Zodb-checkins] CVS: Packages/ZEO - ClientStorage.py:1.29
jeremy@digicool.com
jeremy@digicool.com
Sun, 29 Apr 2001 13:08:25 -0400 (EDT)
Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv15752
Modified Files:
ClientStorage.py
Log Message:
Treat tpc_vote() as a noop if the transaction arg isn't the current
transaction.
--- Updated File ClientStorage.py in package Packages/ZEO --
--- ClientStorage.py 2001/04/27 17:29:59 1.28
+++ ClientStorage.py 2001/04/29 17:08:23 1.29
@@ -402,10 +402,10 @@
finally: self._lock_release()
def tpc_vote(self, transaction):
- if transaction is not self._transaction:
- raise POSException.StorageTransactionError(self, transaction)
self._lock_acquire()
try:
+ if transaction is not self._transaction:
+ return
self._call('vote', self._serial)
if self._serials: