Browse Source

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>
Richard Purdie 3 years ago
parent
commit
c2dd8bb434
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/bb/server/process.py

+ 1 - 1
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"
                 msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock"
                 if procs:
                 if procs:
-                    msg += ":\n%s" % str(procs)
+                    msg += ":\n%s" % str(procs.decode("utf-8"))
                 print(msg)
                 print(msg)
 
 
     def idle_commands(self, delay, fds=None):
     def idle_commands(self, delay, fds=None):