[Zodb-checkins] CVS: StandaloneZODB/ZEO - StorageServer.py:1.32.6.3.2.5

Jeremy Hylton jeremy@zope.com
Tue, 7 May 2002 00:42:58 -0400


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

Modified Files:
      Tag: ZEO2-branch
	StorageServer.py 
Log Message:
zeo_storage must be passed as an argument to _restart



=== StandaloneZODB/ZEO/StorageServer.py 1.32.6.3.2.4 => 1.32.6.3.2.5 ===
         while self.__storage._waiting:
             delay, zeo_storage = self.__storage._waiting.pop(0)
-            if self._restart(delay):
+            if self._restart(zeo_storage, delay):
                 break
 
-    def _restart(self, delay):
+    def _restart(self, zeo_storage, delay):
         # call the restart() method on the appropriate server
         try:
             zeo_storage.restart(delay)