[Zope-Checkins] CVS: Zope/lib/python - Lifetime.py:1.4.2.1

Fred L. Drake, Jr. fred@zope.com
Fri, 14 Feb 2003 13:43:27 -0500


Update of /cvs-repository/Zope/lib/python
In directory cvs.zope.org:/tmp/cvs-serv3050

Modified Files:
      Tag: new-install-branch
	Lifetime.py 
Log Message:
sys.ZServerExitCode becomes ZServer.exit_code

=== Zope/lib/python/Lifetime.py 1.4 => 1.4.2.1 ===
--- Zope/lib/python/Lifetime.py:1.4	Fri Feb 14 00:50:21 2003
+++ Zope/lib/python/Lifetime.py	Fri Feb 14 13:42:56 2003
@@ -28,7 +28,8 @@
     global _shutdown_timeout
     if _shutdown_phase == 0:
         # Thread safety? proably no need to care
-        sys.ZServerExitCode = exit_code
+        import ZServer
+        ZServer.exit_code = exit_code
         _shutdown_phase = 1
     if fast:
         # Someone wants us to shutdown fast. This is hooked into SIGTERM - so possibly