[oe-commits] [bitbake] branch master-next updated: tinfoil: Update to knotty console changes

git at git.openembedded.org git at git.openembedded.org
Fri Mar 13 07:17:20 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new 66ac17e  tinfoil: Update to knotty console changes
66ac17e is described below

commit 66ac17e0ea1b9c7ac9599039e6affcf4f5eb7a1c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Mar 13 07:16:36 2020 +0000

    tinfoil: Update to knotty console changes
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/tinfoil.py | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index 5c5be45..fd06807 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -725,19 +725,9 @@ class Tinfoil:
             # Borrowed from knotty, instead somewhat hackily we use the helper
             # as the object to store "shutdown" on
             helper = bb.ui.uihelper.BBUIHelper()
-            # We set up logging optionally in the constructor so now we need to
-            # grab the handlers to pass to TerminalFilter
-            console = None
-            errconsole = None
-            for handler in self.logger.handlers:
-                if isinstance(handler, logging.StreamHandler):
-                    if handler.stream == sys.stdout:
-                        console = handler
-                    elif handler.stream == sys.stderr:
-                        errconsole = handler
             helper.shutdown = 0
             parseprogress = None
-            termfilter = bb.ui.knotty.TerminalFilter(helper, helper, console, errconsole, quiet=self.quiet)
+            termfilter = bb.ui.knotty.TerminalFilter(helper, helper, quiet=self.quiet)
             try:
                 while True:
                     try:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list