[Zodb-checkins] CVS: ZODB3/ZEO/tests - forker.py:1.25
Barry Warsaw
barry@wooz.org
Fri, 13 Dec 2002 15:05:22 -0500
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv23220
Modified Files:
forker.py
Log Message:
shutdown_zeo_server(): Fix UnboundLocalError if ECONNRESET was raised
=== ZODB3/ZEO/tests/forker.py 1.24 => 1.25 ===
--- ZODB3/ZEO/tests/forker.py:1.24 Fri Dec 13 14:40:15 2002
+++ ZODB3/ZEO/tests/forker.py Fri Dec 13 15:05:22 2002
@@ -107,5 +107,6 @@
ack = s.recv(1024)
except socket.error, e:
if e[0] <> errno.ECONNRESET: raise
+ ack = 'no ack received'
zLOG.LOG('shutdownServer', zLOG.DEBUG, 'acked: %s' % ack)
s.close()