diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-09-02 13:25:04 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-09-19 20:57:52 -0400 |
| commit | 4da14918cd7ad6566f2a986d2dd1aaa87bf66198 (patch) | |
| tree | 0bfbad0067d9ac015bfe8adb833bfd9cb5a96ce1 /mesonbuild/cmake | |
| parent | 6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6 (diff) | |
| download | meson-4da14918cd7ad6566f2a986d2dd1aaa87bf66198.tar.gz | |
pylint: enable consider-using-in
Diffstat (limited to 'mesonbuild/cmake')
| -rw-r--r-- | mesonbuild/cmake/traceparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py index 1dd636fc8..d9b5f4586 100644 --- a/mesonbuild/cmake/traceparser.py +++ b/mesonbuild/cmake/traceparser.py @@ -498,7 +498,7 @@ class CMakeTraceParser: curr = args.pop(0) # XXX: APPEND_STRING is specifically *not* supposed to create a # list, is treating them as aliases really okay? - if curr == 'APPEND' or curr == 'APPEND_STRING': + if curr in {'APPEND', 'APPEND_STRING'}: append = True continue |
