Mercurial > hg-stable
changeset 43989:3622f4fafd35
fsmonitor: drop an unused local variable
Flagged by PyCharm.
Differential Revision: https://phab.mercurial-scm.org/D7752
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 17:54:45 -0500 |
parents | 236cec445be2 |
children | cd96eccd1ce1 |
files | hgext/fsmonitor/pywatchman/capabilities.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/fsmonitor/pywatchman/capabilities.py Fri Dec 27 17:53:56 2019 -0500 +++ b/hgext/fsmonitor/pywatchman/capabilities.py Fri Dec 27 17:54:45 2019 -0500 @@ -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