summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-04-07 09:52:11 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:32 +0100
commitb372e85d9b41ab8ceb4695c223fdf4c35913323b (patch)
tree08605d698e8aa954071c5cff9e12c0dccf4239dd /scripts/runqemu
parent5f7bf1f66d21155dfa5328aa57b4302cc64c132b (diff)
downloadpoky-b372e85d9b41ab8ceb4695c223fdf4c35913323b.tar.gz
bitbake: bitbake-diffsigs: colourise output
If the output is a TTY, add colour to the output in order to make it easier to read. At the moment this is fairly basic, just add colour to the "titles" of each change and to the diff output. I tried to introduce this without changing the code too much - rather than moving everything over to the new python formatting style, I've introduced a color_format() function which takes care of the colour formatting, either accepting additional format arguments or alternatively leaving the caller to use the old-style formatting (%) to insert values. (Bitbake rev: 04a023c8fdea1e1812fcdcaf00345aab59f9abe1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
0 files changed, 0 insertions, 0 deletions