summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-02-23 06:37:22 +0100
committerGitHub <noreply@github.com>2024-02-23 06:37:22 +0100
commit98de8e325708da62c0d17b4607e62c9c7b7ab9e2 (patch)
tree7dcce059d0329d64a9a1646059174dc5d38eef07 /lib
parent23b299c0868243136bc49ce62f09ed796c796db0 (diff)
downloadspack-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.py3
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: