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

Fred L. Drake, Jr. fred@zope.com
Tue, 18 Mar 2003 16:39:36 -0500


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

Modified Files:
	Lifetime.py 
Log Message:
Merge from the new-install-branch:  work with the slightly modified ZServer
package.


=== Zope/lib/python/Lifetime.py 1.4 => 1.5 ===
--- Zope/lib/python/Lifetime.py:1.4	Fri Feb 14 00:50:21 2003
+++ Zope/lib/python/Lifetime.py	Tue Mar 18 16:39:05 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