Commit d6fd39fa 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.

Also, fix a docstring typo.
parent 28bd874c
......@@ -19,7 +19,7 @@ import sys, os, getopt
import types
import errno
import socket
import ThreadedAsync
import ThreadedAsync.LoopCallback
def directory(p, n=1):
d = p
......@@ -134,7 +134,7 @@ def main(argv):
-p port -- port to listen on
-h adddress -- host address to listen on
-h address -- host address to listen on
-s -- Don't use zdeamon
......@@ -292,7 +292,7 @@ def main(argv):
try:
try:
ThreadedAsync.loop()
ThreadedAsync.LoopCallback.loop()
finally:
if os.path.isfile(env.zeo_pid):
os.unlink(env.zeo_pid)
......
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