[oe-commits] [bitbake] 09/09: bitbake py3 fixes

git at git.openembedded.org git at git.openembedded.org
Wed May 11 10:33:04 UTC 2016


rpurdie pushed a commit to branch python3
in repository bitbake.

commit c83203ccda57c210a7b303143078ed2bd5403010
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed May 11 10:28:54 2016 +0100

    bitbake py3 fixes
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/ui/knotty.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index b4e22f8..d6813f5 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -278,6 +278,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
         server.terminateServer()
         return
 
+    consolelog = None
     if consolelogfile and not params.options.show_environment and not params.options.show_versions:
         bb.utils.mkdirhier(os.path.dirname(consolelogfile))
         conlogformat = bb.msg.BBLogFormatter(format_str)
@@ -591,7 +592,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
         if e.errno == errno.EPIPE:
             pass
 
-    if consolelogfile:
+    if consolelog:
         logger.removeHandler(consolelog)
         consolelog.close()
 

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


More information about the Openembedded-commits mailing list