hgweb: drop an unused variable assignment
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 14:58:02 -0500
changeset 43980 3e4294aa7944
parent 43979 bdb357161d7a
child 43981 414cb20e241e
hgweb: drop an unused variable assignment Caught by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7748
mercurial/hgweb/webcommands.py
--- 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: