--- a/mercurial/hgweb/hgwebdir_mod.py Sun May 31 01:29:30 2009 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py Sun May 31 01:30:16 2009 +0200
@@ -92,7 +92,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)