Fix wrong call to a function (#42814)
This commit is contained in:
parent
23b299c086
commit
98de8e3257
1 changed files with 1 additions and 2 deletions
|
@ -376,8 +376,7 @@ def headers(self) -> HeaderList:
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue