forked from Mirror/pmbootstrap
parse: apkindex: don't set arch if None in providers() (MR 2252)
apkindex_files() handles arch=None just fine. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
6db7e81a56
commit
62f3aa8cc4
1 changed files with 0 additions and 1 deletions
|
@ -284,7 +284,6 @@ def providers(package, arch: Optional[Arch]=None, must_exist=True, indexes=None)
|
|||
block is the return value from parse_next_block() above.
|
||||
"""
|
||||
if not indexes:
|
||||
arch = arch or Arch.native()
|
||||
indexes = pmb.helpers.repo.apkindex_files(arch)
|
||||
|
||||
package = pmb.helpers.package.remove_operators(package)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue