diff options
Diffstat (limited to 'mesonbuild/cmake/common.py')
-rw-r--r-- | mesonbuild/cmake/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/cmake/common.py b/mesonbuild/cmake/common.py index 85598da..dffdbdf 100644 --- a/mesonbuild/cmake/common.py +++ b/mesonbuild/cmake/common.py @@ -100,9 +100,9 @@ def _flags_to_list(raw: str) -> T.List[str]: escape = False elif i == '\\': escape = True - elif i in ['"', "'"]: + elif i in {'"', "'"}: in_string = not in_string - elif i in [' ', '\n']: + elif i in {' ', '\n'}: if in_string: curr += i else: |