changeset 43980: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 bdb357161d7a
children 414cb20e241e
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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: