Patchwork D7752: fsmonitor: drop an unused local variable

login
register
mail settings
Submitter phabricator
Date Dec. 28, 2019, 1:28 a.m.
Message ID <differential-rev-PHID-DREV-7l566453yrgnl7wejfcz-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44095/
State Superseded
Headers show

Comments

phabricator - Dec. 28, 2019, 1:28 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Flagged by PyCharm.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/fsmonitor/pywatchman/capabilities.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/fsmonitor/pywatchman/capabilities.py b/hgext/fsmonitor/pywatchman/capabilities.py
--- a/hgext/fsmonitor/pywatchman/capabilities.py
+++ b/hgext/fsmonitor/pywatchman/capabilities.py
@@ -62,7 +62,7 @@ 
     vers["capabilities"] = {}
     for name in opts["optional"]:
         vers["capabilities"][name] = check(parsed_version, name)
-    failed = False  # noqa: F841 T25377293 Grandfathered in
+
     for name in opts["required"]:
         have = check(parsed_version, name)
         vers["capabilities"][name] = have