[Zope-Checkins] CVS: Zope - z2.py:1.87.4.1

Andreas Jung andreas@andreas-jung.com
Sat, 9 Nov 2002 03:43:25 -0500


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv26094

Modified Files:
      Tag: ajung-restructuredtext-integration-branch
	z2.py 
Log Message:
merge from trunk


=== Zope/z2.py 1.87 => 1.87.4.1 ===
--- Zope/z2.py:1.87	Tue Oct 22 10:23:36 2002
+++ Zope/z2.py	Sat Nov  9 03:42:54 2002
@@ -906,5 +906,8 @@
 
 # Start Medusa, Ye Hass!
 sys.ZServerExitCode=0
-asyncore.loop()
-sys.exit(sys.ZServerExitCode)
+import Lifetime
+Lifetime.loop()
+code = sys.ZServerExitCode
+zLOG.LOG("z2", zLOG.INFO, 'Exiting with code %d' % code )
+sys.exit(code)