[Zope-Checkins] CVS: Zope/lib/python/ZServer -
PCGIServer.py:1.26.8.1
Tres Seaver
cvs-admin at zope.org
Mon Nov 17 17:34:52 EST 2003
Update of /cvs-repository/Zope/lib/python/ZServer
In directory cvs.zope.org:/tmp/cvs-serv16574/lib/python/ZServer
Modified Files:
Tag: Zope-2_7-branch
PCGIServer.py
Log Message:
- Merge tseaver-strexp_delenda-branch to the 2.7 branch.
=== Zope/lib/python/ZServer/PCGIServer.py 1.26 => 1.26.8.1 ===
--- Zope/lib/python/ZServer/PCGIServer.py:1.26 Tue Mar 18 16:15:14 2003
+++ Zope/lib/python/ZServer/PCGIServer.py Mon Nov 17 17:34:21 2003
@@ -51,6 +51,9 @@
tz_for_log=compute_timezone_for_log()
+class ParseError(Exception):
+ pass
+
class PCGIChannel(asynchat.async_chat):
"""Processes a PCGI request by collecting the env and stdin and
then passing them to ZPublisher. The result is wrapped in a
@@ -300,7 +303,7 @@
k,v=string.split(line,'=',1)
directives[string.strip(k)]=string.strip(v)
except:
- raise 'ParseError', 'Error parsing PCGI info file'
+ raise ParseError, 'Error parsing PCGI info file'
self.pid_file=directives.get('PCGI_PID_FILE',None)
self.socket_file=directives.get('PCGI_SOCKET_FILE',None)
More information about the Zope-Checkins
mailing list