aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2022-06-09 08:56:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-11 10:30:24 +0100
commit35167536c163eb6b7653cbcaad9f65b834d3e2f8 (patch)
tree5702e8f1da116091d9f32f33c162242f77ed935b /lib/bb/tests/fetch.py
parent247f3536a691cdaa3f96768d1b42653b1da9ae84 (diff)
downloadbitbake-35167536c163eb6b7653cbcaad9f65b834d3e2f8.tar.gz
event.py: ignore exceptions from stdout and sterr operations in atexit
When atexit functions run, stdout and stderr operations may fail, e.g. when output is piped to less but has been exited by the user. This removes error print from output of "bitbake -e sqlite3 | less" if user presses "q" before bitbake has finished processing: [Errno 32] Broken pipeError in atexit._run_exitfuncs: Traceback (most recent call last): File "/home/builder/src/poky/bitbake/lib/bb/event.py", line 135, in print_ui_queue sys.stdout.flush() Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests/fetch.py')
0 files changed, 0 insertions, 0 deletions