aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-02 11:52:41 -0700
committerEli Schwartz <eschwartz93@gmail.com>2022-09-19 20:57:52 -0400
commit6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6 (patch)
tree82b57aa856d00fa1843a4b9c918bddaff8bf9066 /mesonbuild/interpreter/interpreter.py
parent188c552dcfe4aad30041263685eb421240a72e6f (diff)
downloadmeson-6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6.zip
meson-6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6.tar.gz
meson-6f7ea0cc28c9e777c57c74b4d7c2d13604e48ba6.tar.bz2
pylint: enable use-sequence-for-iteration
This found a couple of places where we *don't* want to use set(), and want to use list() instead.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 3e6f343..1f9a99a 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -2475,7 +2475,7 @@ class Interpreter(InterpreterBase, HoldableObject):
)
def func_configure_file(self, node: mparser.BaseNode, args: T.List[TYPE_var],
kwargs: kwtypes.ConfigureFile):
- actions = sorted(x for x in {'configuration', 'command', 'copy'}
+ actions = sorted(x for x in ['configuration', 'command', 'copy']
if kwargs[x] not in [None, False])
num_actions = len(actions)
if num_actions == 0: