[Zope-Checkins] CVS: ZODB3/ZEO - runsvr.py:1.19
Barry Warsaw
barry@wooz.org
Fri, 13 Dec 2002 16:33:58 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv13103
Modified Files:
runsvr.py
Log Message:
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.
=== ZODB3/ZEO/runsvr.py 1.18 => 1.19 ===
--- ZODB3/ZEO/runsvr.py:1.18 Thu Dec 12 14:44:28 2002
+++ ZODB3/ZEO/runsvr.py Fri Dec 13 16:33:58 2002
@@ -39,7 +39,6 @@
import socket
import zLOG
-
import ZConfig
@@ -359,8 +358,8 @@
self.server = StorageServer(self.options.address, self.storages)
def loop_forever(self):
- import ThreadedAsync
- ThreadedAsync.loop()
+ import ThreadedAsync.LoopCallback
+ ThreadedAsync.LoopCallback.loop()
def handle_sigterm(self):
info("terminated by SIGTERM")