changeset 36887 | 4daa22071d5d |
parent 36883 | 061635d4221c |
child 36898 | d0b0fedbfb53 |
--- a/mercurial/hgweb/hgweb_mod.py Sat Mar 10 19:57:08 2018 -0800 +++ b/mercurial/hgweb/hgweb_mod.py Sat Mar 10 20:51:46 2018 -0800 @@ -404,7 +404,7 @@ # override easily enough. res.status = '200 Script output follows' res.headers['Content-Type'] = ctype - return getattr(webcommands, cmd)(rctx, wsgireq, rctx.tmpl) + return getattr(webcommands, cmd)(rctx) except (error.LookupError, error.RepoLookupError) as err: msg = pycompat.bytestr(err)