Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 8663:45f626a39def
wrap string literals in error messages
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 31 May 2009 01:30:16 +0200 |
parents | beae42f3d93b |
children | 580a79dde2a3 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Sun May 31 01:29:30 2009 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Sun May 31 01:30:16 2009 +0200 @@ -68,7 +68,8 @@ def run(self): if not os.environ.get('GATEWAY_INTERFACE', '').startswith("CGI/1."): - raise RuntimeError("This function is only intended to be called while running as a CGI script.") + raise RuntimeError("This function is only intended to be " + "called while running as a CGI script.") import mercurial.hgweb.wsgicgi as wsgicgi wsgicgi.launch(self)