packages/pkgbuild: filter_pkgbuilds(): fix up to_match tracking
This commit is contained in:
parent
9fbb2dec46
commit
9ae721d888
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ def filter_pkgbuilds(
|
|||
logging.warn(f"Pkg {pkg.name} matches query {matches[0]} but isn't available for architecture {arch}: {pkg.arches}")
|
||||
continue
|
||||
result += [pkg]
|
||||
for m in matches:
|
||||
for m in set(matches).intersection(to_find):
|
||||
to_find.remove(m)
|
||||
|
||||
if not allow_empty_results:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue