Skip to content
Snippets Groups Projects
Unverified Commit 476976ba authored by Oliver Smith's avatar Oliver Smith
Browse files

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.
parent a79e52fe
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment