[Zope-Checkins] CVS: ZODB3/ZEO/tests - zeoserver.py:1.3
Barry Warsaw
barry@wooz.org
Fri, 13 Dec 2002 16:36:47 -0500
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv14382
Modified Files:
zeoserver.py
Log Message:
main(): 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/tests/zeoserver.py 1.2 => 1.3 ===
--- ZODB3/ZEO/tests/zeoserver.py:1.2 Fri Dec 13 14:40:45 2002
+++ ZODB3/ZEO/tests/zeoserver.py Fri Dec 13 16:36:47 2002
@@ -20,7 +20,7 @@
import random
import socket
import asyncore
-import ThreadedAsync
+import ThreadedAsync.LoopCallback
import ZConfig
import zLOG
@@ -141,7 +141,7 @@
log(label, 'creating the storage server')
serv = ZEO.StorageServer.StorageServer(addr, {'1': storage}, ro_svr)
log(label, 'entering ThreadedAsync loop')
- ThreadedAsync.loop()
+ ThreadedAsync.LoopCallback.loop()
if __name__ == '__main__':