From bf7d68c812e9807d88b529212487dda7fa60245a Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Thu, 12 Mar 2020 13:30:04 -0500 Subject: bitbake: knotty/msg: Use logging.shutdown() instead of bb.msg.cleanupLogging() The logging module provides a shutdown() function that does the same thing in a much better way (Bitbake rev: 970cd2fc4f0bbc93069dee5a15a608dd76081c67) Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 826aa8c3e7..87e873d644 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -871,6 +871,6 @@ def main(server, eventHandler, params, tf = TerminalFilter): if e.errno == errno.EPIPE: pass - bb.msg.cleanupLogging() + logging.shutdown() return return_value -- cgit v1.2.3-54-g00ecf