# HG changeset patch # User Matt Harbison # Date 2019-12-27 19:58:02 # Node ID 3e4294aa794472f44b940aab69ffc3b8a0a23f51 # Parent bdb357161d7a388ab616fd67ed083a601582dc99 hgweb: drop an unused variable assignment Caught by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7748 diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -1268,7 +1268,6 @@ def archive(web): 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: