changeset 8761 | 0289f384e1e5 |
parent 8225 | 46293a0c7e9f |
child 9031 | 3b76321aa0de |
--- a/mercurial/hgweb/common.py Tue Jun 09 09:25:31 2009 -0400 +++ b/mercurial/hgweb/common.py Tue Jun 09 09:25:17 2009 -0400 @@ -71,7 +71,7 @@ req.respond(HTTP_OK, ct, length = os.path.getsize(path)) return file(path, 'rb').read() except TypeError: - raise ErrorResponse(HTTP_SERVER_ERROR, 'illegal file name') + raise ErrorResponse(HTTP_SERVER_ERROR, 'illegal filename') except OSError, err: if err.errno == errno.ENOENT: raise ErrorResponse(HTTP_NOT_FOUND)