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

Fred L. Drake, Jr. fred@zope.com
Fri, 14 Feb 2003 00:50:25 -0500


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

Modified Files:
	Lifetime.py 
Log Message:
Oops; not on the trunk!  The previous change was only intended to be on the
new-install-branch, which this file is not part of.  Sorry.


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