Commit 28bd874c authored by Barry Warsaw's avatar Barry Warsaw

loop_forever(): Sigh, Zope 2.5.1 has a different version of

ThreadedAsync which doesn't put .loop() in the package namespace.  Use
the full dotted path to the function.
parent 0091c5eb
...@@ -39,7 +39,6 @@ import signal ...@@ -39,7 +39,6 @@ import signal
import socket import socket
import zLOG import zLOG
import ZConfig import ZConfig
...@@ -359,8 +358,8 @@ class ZEOServer: ...@@ -359,8 +358,8 @@ class ZEOServer:
self.server = StorageServer(self.options.address, self.storages) self.server = StorageServer(self.options.address, self.storages)
def loop_forever(self): def loop_forever(self):
import ThreadedAsync import ThreadedAsync.LoopCallback
ThreadedAsync.loop() ThreadedAsync.LoopCallback.loop()
def handle_sigterm(self): def handle_sigterm(self):
info("terminated by SIGTERM") info("terminated by SIGTERM")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment