]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
knotty: Fix output buffering issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 May 2016 21:52:00 +0000 (22:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 May 2016 13:42:56 +0000 (14:42 +0100)
commit0e030c4d074c41859608dab5f3ad26b05f56b306
tree8411765e6a84c4fa21519cd67bacda4bc19a26d1
parent2a6659fd748e255a02c2f9d047829d6edfe65317
knotty: Fix output buffering issues

We need to flush the footer removal, else it may not be outputted until
the buffer is flushed as part of StreamHandler and this would lead to
it removing the ERROR output just printed which is extremely confusing.

Also ensure the footer is cleared before printing a summary as in
some cases it wasn't being removed, also leading to user confusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/knotty.py