Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 2273:c77483d2cda4
merge from maint-0-7
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 10 May 2004 00:42:49 +0000 |
| parents | ca2664e095be |
| children | 49f69762c66a |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Thu May 06 03:18:03 2004 +0000 +++ b/roundup/scripts/roundup_server.py Mon May 10 00:42:49 2004 +0000 @@ -17,7 +17,7 @@ """Command-line script that runs a server over roundup.cgi.client. -$Id: roundup_server.py,v 1.46 2004-04-20 21:57:16 richard Exp $ +$Id: roundup_server.py,v 1.47 2004-05-10 00:38:38 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -94,8 +94,8 @@ self.inner_run_cgi() except client.NotFound: self.send_error(404, self.path) - except client.Unauthorised: - self.send_error(403, self.path) + except client.Unauthorised, message: + self.send_error(403, '%s (%s)'%(self.path, message)) except: exc, val, tb = sys.exc_info() if hasattr(socket, 'timeout') and isinstance(val, socket.timeout):
