aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-02 13:25:04 -0700
committerEli Schwartz <eschwartz93@gmail.com>2022-09-19 20:57:52 -0400
commit4da14918cd7ad6566f2a986d2dd1aaa87bf66198 (patch)
tree0bfbad0067d9ac015bfe8adb833bfd9cb5a96ce1 /mesonbuild/environment.py
parent6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6 (diff)
downloadmeson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.zip
meson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.tar.gz
meson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.tar.bz2
pylint: enable consider-using-in
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 394b080..bf6d374 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -276,7 +276,7 @@ def detect_windows_arch(compilers: CompilersDict) -> str:
# 32-bit and pretend like we're running under WOW64. Else, return the
# actual Windows architecture that we deduced above.
for compiler in compilers.values():
- if compiler.id == 'msvc' and (compiler.target == 'x86' or compiler.target == '80x86'):
+ if compiler.id == 'msvc' and (compiler.target in {'x86', '80x86'}):
return 'x86'
if compiler.id == 'clang-cl' and compiler.target == 'x86':
return 'x86'