Patchwork D7748: hgweb: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 9:18 p.m.
Message ID <differential-rev-PHID-DREV-ny7wh326r623ncdfrmgo-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44076/
State Superseded
Headers show

Comments

phabricator - Dec. 27, 2019, 9:18 p.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Caught by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7748

AFFECTED FILES
  mercurial/hgweb/webcommands.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

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 @@ 
     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: