diff options
-rw-r--r-- | .pylintrc | 1 | ||||
-rw-r--r-- | mesonbuild/backend/backends.py | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -71,7 +71,6 @@ disable= undefined-loop-variable, unidiomatic-typecheck, unnecessary-dict-index-lookup, - unnecessary-lambda, unnecessary-lambda-assignment, unsubscriptable-object, unused-argument, diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index cd0a738..2520f0a 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -1779,7 +1779,7 @@ class Backend: source_list += [os.path.join(self.source_dir, j)] elif isinstance(j, (build.CustomTarget, build.BuildTarget)): source_list += [os.path.join(self.build_dir, j.get_subdir(), o) for o in j.get_outputs()] - source_list = list(map(lambda x: os.path.normpath(x), source_list)) + source_list = [os.path.normpath(s) for s in source_list] compiler: T.List[str] = [] if isinstance(target, build.CustomTarget): |