diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-09-07 15:07:11 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-11-30 07:01:22 -0500 |
commit | 1502431fe9bd06eab4001b0bfc0dd5d9a0d400f0 (patch) | |
tree | 8df7e83994eb6abb6c57b74c528c78466d8ebfd4 | |
parent | d5e899c76808d45854a06a4ba2b006da32480165 (diff) | |
download | meson-1502431fe9bd06eab4001b0bfc0dd5d9a0d400f0.zip meson-1502431fe9bd06eab4001b0bfc0dd5d9a0d400f0.tar.gz meson-1502431fe9bd06eab4001b0bfc0dd5d9a0d400f0.tar.bz2 |
pylint: enable use-implicit-booleaness-not-comparison
-rw-r--r-- | .pylintrc | 1 | ||||
-rw-r--r-- | mesonbuild/utils/universal.py | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -75,7 +75,6 @@ disable= unsubscriptable-object, unused-argument, unused-variable, - use-implicit-booleaness-not-comparison, useless-super-delegation, wrong-import-order, wrong-import-position, diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index f58a124..4eafcd1 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -871,7 +871,7 @@ def version_compare_many(vstr1: str, conditions: T.Union[str, T.Iterable[str]]) not_found.append(req) else: found.append(req) - return not_found == [], not_found, found + return not not_found, not_found, found # determine if the minimum version satisfying the condition |condition| exceeds |