diff mercurial/hgweb/hgwebdir_mod.py @ 2537:b6975008d44f

Fix hgwebdir to run hgweb using run_wsgi.
author Eric Hopper <hopper@omnifarious.org>
date Fri, 30 Jun 2006 08:47:41 -0700
parents b8ccf6386db7
children f4b7d71c1c60
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py
+++ b/mercurial/hgweb/hgwebdir_mod.py
@@ -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: