[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - testStart.py:1.4

Jeremy Hylton jeremy@zope.com
Tue, 6 Aug 2002 10:59:24 -0400


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

Modified Files:
	testStart.py 
Log Message:
If there is no pid, there is nothing to kill.


=== StandaloneZODB/ZEO/tests/testStart.py 1.3 => 1.4 ===
 
     def stop_server(self):
         ppid, pid = self.getpids()
+        if ppid is None:
+            return
         self.kill(pids=[pid])
 
     def kill(self, sig=signal.SIGTERM, pids=None):