[Zope-Checkins] CVS: Zope/lib/python - Lifetime.py:1.3
Fred L. Drake, Jr.
fred@zope.com
Fri, 14 Feb 2003 00:45:25 -0500
Update of /cvs-repository/Zope/lib/python
In directory cvs.zope.org:/tmp/cvs-serv10557
Modified Files:
Lifetime.py
Log Message:
- sys.ZServerExitCode becomes ZServer.exit_code
=== Zope/lib/python/Lifetime.py 1.2 => 1.3 ===
--- Zope/lib/python/Lifetime.py:1.2 Mon Nov 4 08:33:46 2002
+++ Zope/lib/python/Lifetime.py Fri Feb 14 00:45:24 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
@@ -78,4 +79,4 @@
# No vetos? That is one step closer to shutting down
_shutdown_phase += 1
timestamp = time.time()
-
\ No newline at end of file
+