[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - server.py:1.7
Barry Warsaw
barry@wooz.org
Fri, 13 Dec 2002 16:37:14 -0500
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv15364
Modified Files:
server.py
Log Message:
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/zrpc/server.py 1.6 => 1.7 ===
--- ZODB3/ZEO/zrpc/server.py:1.6 Fri Nov 22 12:44:40 2002
+++ ZODB3/ZEO/zrpc/server.py Fri Dec 13 16:37:14 2002
@@ -18,9 +18,10 @@
from ZEO.zrpc.connection import Connection, Delay
from ZEO.zrpc.log import log
import zLOG
+import ThreadedAsync.LoopCallback
# Export the main asyncore loop
-loop = asyncore.loop
+loop = ThreadedAsync.LoopCallback.loop
class Dispatcher(asyncore.dispatcher):
"""A server that accepts incoming RPC connections"""