aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-04 15:21:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:45:10 +0100
commitc2dd8bb434d5738fedf9019651074b90affff3b2 (patch)
treefc6332f04597330b688dc829c0dc35f4410d8570
parent343187c57e1459b0e57f90463843782f3a3a8443 (diff)
downloadbitbake-c2dd8bb434d5738fedf9019651074b90affff3b2.tar.gz
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). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index c972fe567..5b4d92dc8 100644
--- a/lib/bb/server/process.py
+++ b/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):