]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe.scriptutils: enable color in a more flexible way
authorChristopher Larson <chris_larson@mentor.com>
Mon, 4 Mar 2019 21:36:23 +0000 (21:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2019 22:28:11 +0000 (22:28 +0000)
commit713f44e0e0cde9b818c214002fd8b730d422fafa
treebd2cf3e19c90565a6ad08ae3e14d4c135dfdaa4c
parent7930f114aff8e00e777a26656e465f1fe43780b5
oe.scriptutils: enable color in a more flexible way

Rather than recreating handlers and forcing them, iterate over the handlers
and enable color on ones we can handle. This makes it easier to handle color
properly when we introduce the bb.msg default log filters.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/scriptutils.py