[bitbake-devel] [PATCH] runqueue: Tweak debug message to make it more readable/diffable

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jul 30 15:18:09 UTC 2017


Having this as one huge long line isn't easy to manipulate, split it into
multiple lines for ease of debugging issues.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 7dd964d..e1a15af 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2372,7 +2372,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
         self.rq.scenequeue_covered = self.scenequeue_covered
         self.rq.scenequeue_notcovered = self.scenequeue_notcovered
 
-        logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered))
+        logger.debug(1, 'We can skip tasks %s', "\n".join(sorted(self.rq.scenequeue_covered)))
 
         self.rq.state = runQueueRunInit
 
-- 
2.7.4




More information about the bitbake-devel mailing list