diff options
| author | Guido van Rossum <guido@python.org> | 1995-08-29 19:18:24 +0000 | 
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1995-08-29 19:18:24 +0000 | 
| commit | 92d09320255dbcfc03a2747ea0f5f9bec47debfd (patch) | |
| tree | 9293c379a8753413a8749da3c152822a4bbbffd5 /Lib/CGIHTTPServer.py | |
| parent | edb21c4edc92dddca238bce3f3c17704f562c93b (diff) | |
| download | cpython-git-92d09320255dbcfc03a2747ea0f5f9bec47debfd.tar.gz | |
changed some commas into percent signs
Diffstat (limited to 'Lib/CGIHTTPServer.py')
| -rw-r--r-- | Lib/CGIHTTPServer.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py index eeb51fe2ff..bcb2ef4b2f 100644 --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -6,7 +6,7 @@ requests to cgi-bin scripts.  """ -__version__ = "0.2" +__version__ = "0.3"  import os @@ -89,14 +89,14 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):  	scriptname = dir + '/' + script  	scriptfile = self.translate_path(scriptname)  	if not os.path.exists(scriptfile): -	    self.send_error(404, "No such CGI script (%s)", `scriptname`) +	    self.send_error(404, "No such CGI script (%s)" % `scriptname`)  	    return  	if not os.path.isfile(scriptfile): -	    self.send_error(403, "CGI script is not a plain file (%s)", +	    self.send_error(403, "CGI script is not a plain file (%s)" %  			    `scriptname`)  	    return  	if not executable(scriptfile): -	    self.send_error(403, "CGI script is not executable (%s)", +	    self.send_error(403, "CGI script is not executable (%s)" %  			    `scriptname`)  	    return  	nobody = nobody_uid() | 
