bitbake: lib/bb/event: improve handling of event queue on exit
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 11 Sep 2012 09:37:22 +0000 (10:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Sep 2012 08:50:34 +0000 (09:50 +0100)
commit7bc7722ec1232d6f9445b98687092d15ddde1540
tree66b3cea850d80ee60c2b034efd930868eccbe6a0
parent5fa5785a2a13f709414ad49cdc91d2231b72eaba
bitbake: lib/bb/event: improve handling of event queue on exit

If BitBake exits before a UI handler (server) has been registered, we
print the event queue; if there are any errors or other non-debug
messages just print these and suppress the rest of the message queue.

This improves the output when sanity check failures occur with OE-Core
by avoiding printing a long stream of uninformative debug messages.

(Bitbake rev: 8668a94cb1841798636b68fe123400d6b81f6574)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/event.py