[Zodb-checkins] CVS: ZODB3/ZEO - start.py:1.57
Barry Warsaw
barry@wooz.org
Fri, 13 Dec 2002 16:36:15 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv13777
Modified Files:
start.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.
Also, fix a docstring typo.
=== ZODB3/ZEO/start.py 1.56 => 1.57 ===
--- ZODB3/ZEO/start.py:1.56 Thu Dec 12 13:49:38 2002
+++ ZODB3/ZEO/start.py Fri Dec 13 16:36:15 2002
@@ -19,7 +19,7 @@
import types
import errno
import socket
-import ThreadedAsync
+import ThreadedAsync.LoopCallback
def directory(p, n=1):
d = p
@@ -134,7 +134,7 @@
-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 @@
try:
try:
- ThreadedAsync.loop()
+ ThreadedAsync.LoopCallback.loop()
finally:
if os.path.isfile(env.zeo_pid):
os.unlink(env.zeo_pid)