[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPResponse.py:1.72.6.1

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


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

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

=== Zope/lib/python/ZPublisher/HTTPResponse.py 1.72 => 1.72.6.1 ===
--- Zope/lib/python/ZPublisher/HTTPResponse.py:1.72	Sun Dec 22 13:31:46 2002
+++ Zope/lib/python/ZPublisher/HTTPResponse.py	Fri Feb 14 13:42:57 2003
@@ -190,7 +190,8 @@
     def _requestShutdown(self, exitCode=0):
         """Request that the server shut down with exitCode after fulfilling
            the current request."""
-        sys.ZServerExitCode = exitCode
+        import ZServer
+        ZServer.exit_code = exitCode
         self._shutdown_flag = 1
 
     def _shutdownRequested(self):