# HG changeset patch # User Rapha?l Gom?s # Date 1634544884 -7200 # Node ID 2f7caef017d90f69c77ac8246ccc7906ab2b663a # Parent b56858d85a7bdd291324cde3acedc7a8362f3297 fix: appease pyflakes and make unused variables more obvious pyflakes is complaining that `baserevs` is redefined by the list comprehension, and while this lint can be valuable, it's not actually a problem here. Differential Revision: https://phab.mercurial-scm.org/D11683 diff -r b56858d85a7b -r 2f7caef017d9 hgext/fix.py --- a/hgext/fix.py Fri Oct 15 04:41:24 2021 +0200 +++ b/hgext/fix.py Mon Oct 18 10:14:44 2021 +0200 @@ -434,7 +434,7 @@ numitems[rev] += 1 workqueue = [ (min(dstrevs), path, dstrevs) - for (filerev, baserevs, path), dstrevs in dstrevmap.items() + for (_filerev, _baserevs, path), dstrevs in dstrevmap.items() ] # Move work items for earlier changesets to the front of the queue, so we # might be able to replace those changesets (in topological order) while