[Zodb-checkins] CVS: Packages/ZEO - start.py:1.23

Jim Fulton jim@digicool.com
Sat, 7 Apr 2001 13:46:47 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv23977

Modified Files:
	start.py 
Log Message:
Needed to move loop call outside of startup exception handler.



--- Updated File start.py in package Packages/ZEO --
--- start.py	2001/04/07 00:05:49	1.22
+++ start.py	2001/04/07 17:46:45	1.23
@@ -311,7 +311,6 @@
         except: pass # getpid not supported
         else: open(zeo_pid,'w').write("%s %s" % (ppid, pid))
 
-        asyncore.loop()
     except:
         # Log startup exception and tell zdaemon not to restart us.
         info=sys.exc_info()
@@ -326,6 +325,9 @@
             apply(traceback.print_exception, info2)
             
         sys.exit(0)
+
+    asyncore.loop()
+
 
 def rotate_logs():
     import zLOG