[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientStorage.py:1.46

Barry Warsaw barry@wooz.org
Fri, 16 Aug 2002 14:15:06 -0400


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv9535

Modified Files:
	ClientStorage.py 
Log Message:
tpc_begin(): Added a missing self.tpc_cond.acquire() in the except:
clause.


=== StandaloneZODB/ZEO/ClientStorage.py 1.45 => 1.46 ===
--- StandaloneZODB/ZEO/ClientStorage.py:1.45	Wed Aug 14 16:44:28 2002
+++ StandaloneZODB/ZEO/ClientStorage.py	Fri Aug 16 14:15:04 2002
@@ -375,6 +375,7 @@
             # Client may have disconnected during the tpc_begin().
             # Then notifyDisconnected() will have released the lock.
             if self._server is not disconnected_stub:
+                self.tpc_cond.acquire()
                 self._transaction = None
                 self.tpc_cond.release()
             raise