[Zope3-checkins] CVS: Zope3/src/zodb/zeo/tests - zeoserver.py:1.7.6.2
Jeremy Hylton
jeremy@zope.com
Tue, 18 Feb 2003 19:33:46 -0500
Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv12446/src/zodb/zeo/tests
Modified Files:
Tag: ZODB3-2-integration-branch
zeoserver.py
Log Message:
Don't delete the files if keep is True.
=== Zope3/src/zodb/zeo/tests/zeoserver.py 1.7.6.1 => 1.7.6.2 ===
--- Zope3/src/zodb/zeo/tests/zeoserver.py:1.7.6.1 Thu Feb 13 19:29:10 2003
+++ Zope3/src/zodb/zeo/tests/zeoserver.py Tue Feb 18 19:33:45 2003
@@ -84,8 +84,9 @@
if self._count <= 0:
self.logger.info('closing the storage')
self._server.close_server()
- for storage in self._server.storages.values():
- storage.cleanup()
+ if not self._keep:
+ for storage in self._server.storages.values():
+ storage.cleanup()
self.logger.info('exiting')
# Close all the other sockets so that we don't have to wait
# for os._exit() to get to it before starting the next