Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/webcommands.py @ 43985:3e4294aa7944
hgweb: drop an unused variable assignment
Caught by PyCharm.
Differential Revision: https://phab.mercurial-scm.org/D7748
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 14:58:02 -0500 |
parents | 6ff1a0d109c9 |
children | 91aa9bba3dc9 |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Fri Dec 27 13:56:08 2019 -0500 +++ b/mercurial/hgweb/webcommands.py Fri Dec 27 14:58:02 2019 -0500 @@ -1268,7 +1268,6 @@ name = b"%s-%s" % (reponame, arch_version) ctx = webutil.changectx(web.repo, web.req) - pats = [] match = scmutil.match(ctx, []) file = web.req.qsparams.get(b'file') if file: