Fix hgwebdir to run hgweb using run_wsgi.
authorEric Hopper <hopper@omnifarious.org>
Fri, 30 Jun 2006 08:47:41 -0700
changeset 2537 b6975008d44f
parent 2536 8106e477f584
child 2538 f4b7d71c1c60
Fix hgwebdir to run hgweb using run_wsgi.
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 @@
             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: