[Zope3-checkins] CVS: ZODB4/ZEO/tests - zeoserver.py:1.2

Barry Warsaw barry@wooz.org
Mon, 16 Dec 2002 18:08:22 -0500


Update of /cvs-repository/ZODB4/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv23058

Modified Files:
	zeoserver.py 
Log Message:
main(): Clean up the storage files in the except clause regardless of
the value of keep.  We only get here when an error occurred, and then
we should always clean up after ourselves.


=== ZODB4/ZEO/tests/zeoserver.py 1.1 => 1.2 ===
--- ZODB4/ZEO/tests/zeoserver.py:1.1	Mon Dec 16 16:17:27 2002
+++ ZODB4/ZEO/tests/zeoserver.py	Mon Dec 16 18:08:21 2002
@@ -140,8 +140,7 @@
         if e[0] <> errno.EADDRINUSE: raise
         log(label, 'addr in use, closing and exiting')
         storage.close()
-        if not keep:
-            cleanup(storage)
+        cleanup(storage)
         sys.exit(2)
     addr = ('', zeo_port)
     log(label, 'creating the storage server')