summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-01-02 16:40:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-02 22:51:01 +0000
commitbd05979aa8333d5bb2a5f058d2274af1873412a1 (patch)
treea9a1ee4ee0510a18503814de7223b37b89feaf88 /scripts/lib
parent70a92a2f8bfd0fce7e631972c2aff05121024dc2 (diff)
downloadpoky-bd05979aa8333d5bb2a5f058d2274af1873412a1.tar.gz
devtool: use straight print in check-upgrade-status output
'devtool check-upgrade-status' is for reporting upgradable status for recipes. The output should always be printed out. So we should just use 'print' instead of 'logger.info' as the latter will be suppressed if '-q' parameter is supplied to devtool. (From OE-Core rev: 2c7bf9c8a833bec13a1ebabdce30933cbe691108) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/devtool/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index a98370bc10..ef58523dc8 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -631,7 +631,7 @@ def check_upgrade_status(args, config, basepath, workspace):
631 for result in results: 631 for result in results:
632 # pn, update_status, current, latest, maintainer, latest_commit, no_update_reason 632 # pn, update_status, current, latest, maintainer, latest_commit, no_update_reason
633 if args.all or result[1] != 'MATCH': 633 if args.all or result[1] != 'MATCH':
634 logger.info("{:25} {:15} {:15} {} {} {}".format( result[0], 634 print("{:25} {:15} {:15} {} {} {}".format( result[0],
635 result[2], 635 result[2],
636 result[1] if result[1] != 'UPDATE' else (result[3] if not result[3].endswith("new-commits-available") else "new commits"), 636 result[1] if result[1] != 'UPDATE' else (result[3] if not result[3].endswith("new-commits-available") else "new commits"),
637 result[4], 637 result[4],