D7752: fsmonitor: drop an unused local variable
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Sat Dec 28 01:28:59 UTC 2019
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
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
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list