diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-02-23 06:37:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 06:37:22 +0100 |
commit | 98de8e325708da62c0d17b4607e62c9c7b7ab9e2 (patch) | |
tree | 7dcce059d0329d64a9a1646059174dc5d38eef07 /lib | |
parent | 23b299c0868243136bc49ce62f09ed796c796db0 (diff) | |
download | spack-98de8e325708da62c0d17b4607e62c9c7b7ab9e2.tar.gz spack-98de8e325708da62c0d17b4607e62c9c7b7ab9e2.tar.bz2 spack-98de8e325708da62c0d17b4607e62c9c7b7ab9e2.tar.xz spack-98de8e325708da62c0d17b4607e62c9c7b7ab9e2.zip |
Fix wrong call to a function (#42814)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/python.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py index ec86c45633..e4f5b7619d 100644 --- a/lib/spack/spack/build_systems/python.py +++ b/lib/spack/spack/build_systems/python.py @@ -376,8 +376,7 @@ class PythonPackage(PythonExtension): platlib = self.prefix.join(self.spec["python"].package.platlib).join(name) purelib = self.prefix.join(self.spec["python"].package.purelib).join(name) - find_all_headers = functools.partial(fs.find_all_headers, recursive=True) - headers_list = map(find_all_headers, [include, platlib, purelib]) + headers_list = map(fs.find_all_headers, [include, platlib, purelib]) headers = functools.reduce(operator.add, headers_list) if headers: |