[Zope-Checkins] CVS: Zope/lib/python/ZServer - PCGIServer.py:1.24.58.1

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


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

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


=== Zope/lib/python/ZServer/PCGIServer.py 1.24 => 1.24.58.1 ===
--- Zope/lib/python/ZServer/PCGIServer.py:1.24	Wed Aug 14 17:16:50 2002
+++ Zope/lib/python/ZServer/PCGIServer.py	Fri Feb 14 00:43:26 2003
@@ -34,6 +34,7 @@
 from medusa.http_server import compute_timezone_for_log
 from asyncore import compact_traceback
 
+import ZServer
 from ZServer import CONNECTION_LIMIT, requestCloseOnExec
 
 from PubCore import handle
@@ -383,7 +384,7 @@
             if self._shutdown:
                 try: r=self._shutdown[0]
                 except: r=0
-                sys.ZServerExitCode=r
+                ZServer.exit_code=r
                 self._channel.push(ShutdownProducer(), 0)
                 Wakeup(lambda: asyncore.close_all())
             else: