From 0a73f003d0d05720e23d2a04ea62ce9ee3d38b38 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 13 Sep 2022 20:04:36 -0400 Subject: pyupgrade: use set literal --- mesonbuild/cmake/traceparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.1