[Zope-Checkins] CVS: ZODB3/ZEO - start.py:1.56

Barry Warsaw barry@wooz.org
Thu, 12 Dec 2002 13:49:39 -0500


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv20153

Modified Files:
	start.py 
Log Message:
main(): Use ThreadedAsync.loop() explicitly instead of the
asyncore.loop() which really isn't.


=== ZODB3/ZEO/start.py 1.55 => 1.56 ===
--- ZODB3/ZEO/start.py:1.55	Wed Nov 27 23:29:57 2002
+++ ZODB3/ZEO/start.py	Thu Dec 12 13:49:38 2002
@@ -19,6 +19,7 @@
 import types
 import errno
 import socket
+import ThreadedAsync
 
 def directory(p, n=1):
     d = p
@@ -291,7 +292,7 @@
 
     try:
         try:
-            asyncore.loop()
+            ThreadedAsync.loop()
         finally:
             if os.path.isfile(env.zeo_pid):
                 os.unlink(env.zeo_pid)