aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-13 20:04:36 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2023-02-19 02:55:57 +0530
commit0a73f003d0d05720e23d2a04ea62ce9ee3d38b38 (patch)
treedd2ab5d9cb82557faf54e8c16ea34057c9878423
parentf52e43c195f28786206bc986d3e8a7c8fc1b59b2 (diff)
downloadmeson-0a73f003d0d05720e23d2a04ea62ce9ee3d38b38.zip
meson-0a73f003d0d05720e23d2a04ea62ce9ee3d38b38.tar.gz
meson-0a73f003d0d05720e23d2a04ea62ce9ee3d38b38.tar.bz2
pyupgrade: use set literal
-rw-r--r--mesonbuild/cmake/traceparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py
index e5aea8e..54e6bef 100644
--- a/mesonbuild/cmake/traceparser.py
+++ b/mesonbuild/cmake/traceparser.py
@@ -211,7 +211,7 @@ class CMakeTraceParser:
p: {k: strlist_gen(v) for k, v in d.items()}
for p, d in self.vars_by_file.items()
}
- self.explicit_headers = set(Path(parse_generator_expressions(str(x), self)) for x in self.explicit_headers)
+ self.explicit_headers = {Path(parse_generator_expressions(str(x), self)) for x in self.explicit_headers}
self.cache = {
k: CMakeCacheEntry(
strlist_gen(v.value),