From 341c5ca419b2b447e5ef5b5e13f0539694fc9132 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Sep 2020 15:21:11 +0100 Subject: bitbake: process: Avoid printing binary strings for leftover processes The binary string printed into the output is ugly, parse this so the linebreaks come out in the logs and make them much more readable (I was misssing the information initially despite looking for it). (Bitbake rev: c2dd8bb434d5738fedf9019651074b90affff3b2) Signed-off-by: Richard Purdie --- bitbake/lib/bb/server/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/server/process.py') diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index c972fe567d..5b4d92dc80 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py @@ -295,7 +295,7 @@ class ProcessServer(): msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock" if procs: - msg += ":\n%s" % str(procs) + msg += ":\n%s" % str(procs.decode("utf-8")) print(msg) def idle_commands(self, delay, fds=None): -- cgit v1.2.3-54-g00ecf