forked from Mirror/pmbootstrap
helpers.package.get: pass try_other_arches along
Let the get() function pass the try_other_arches parameter when calling itself, so it does not get lost.
This commit is contained in:
parent
a79e52feeb
commit
476976ba14
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def get(pkgname, arch, replace_subpkgnames=False, must_exist=True, try_other_arc
|
|||
if replace_subpkgnames:
|
||||
depends_new = []
|
||||
for depend in ret["depends"]:
|
||||
depend_data = get(depend, arch, must_exist=False)
|
||||
depend_data = get(depend, arch, must_exist=False, try_other_arches=try_other_arches)
|
||||
if not depend_data:
|
||||
logging.warning(f"WARNING: {pkgname}: failed to resolve" f" dependency '{depend}'")
|
||||
# Can't replace potential subpkgname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue