Commit 4a3cb77d authored by Barry Warsaw's avatar Barry Warsaw

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.
parent d6fd39fa
......@@ -20,7 +20,7 @@ import getopt
import random
import socket
import asyncore
import ThreadedAsync
import ThreadedAsync.LoopCallback
import ZConfig
import zLOG
......@@ -141,7 +141,7 @@ def main():
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__':
......
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