[PATCH 2 of 3] Fix hgwebdir to run hgweb using run_wsgi

Eric Hopper hopper at omnifarious.org
Fri Jun 30 12:18:16 CDT 2006


# HG changeset patch
# User Eric Hopper <hopper at omnifarious.org>
# Node ID b6975008d44fcf3ed5fbb1867e0bcf5ee3b78da0
# Parent  8106e477f584e89fb46c7f5d0a1ad5d4154b3aeb
Fix hgwebdir to run hgweb using run_wsgi.

diff -r 8106e477f584 -r b6975008d44f mercurial/hgweb/hgwebdir_mod.py
--- a/mercurial/hgweb/hgwebdir_mod.py	Fri Jun 30 08:45:52 2006 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Fri Jun 30 08:47:41 2006 -0700
@@ -134,7 +134,7 @@ class hgwebdir(object):
             real = dict(self.repos).get(virtual)
             if real:
                 try:
-                    hgweb(real).run(req)
+                    hgweb(real).run_wsgi(req)
                 except IOError, inst:
                     req.write(tmpl("error", error=inst.strerror))
                 except hg.RepoError, inst:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060630/5932b361/attachment.pgp


More information about the Mercurial mailing list