diff mercurial/hgweb/common.py @ 8761:0289f384e1e5

Generally replace "file name" with "filename" in help and comments.
author timeless <timeless@gmail.com>
date Tue, 09 Jun 2009 09:25:17 -0400
parents 46293a0c7e9f
children 3b76321aa0de
line wrap: on
line diff
--- 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)