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 @@ 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: