pmb.helpers.package.check_arch_recurse(): fix msg (!1776)

Fix the 'a: (indirectly) depends on b' message, a and b were swapped.
This commit is contained in:
Oliver Smith 2019-04-20 01:18:58 +02:00
parent f82e4fd66b
commit 9241dbb35b
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ def check_arch_recurse(args, pkgname, arch):
for pkgname_i in depends_recurse(args, pkgname, arch):
if not check_arch(args, pkgname_i, arch):
if pkgname_i != pkgname:
logging.verbose(pkgname_i + ": (indirectly) depends on " +
pkgname)
logging.verbose(pkgname + ": (indirectly) depends on " +
pkgname_i)
logging.verbose(pkgname_i + ": can't be built for " + arch)
return False
return True