]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: build.py: Logging of None was losing the logs so force this to stdout so...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jan 2011 18:55:38 +0000 (18:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jan 2011 18:57:07 +0000 (18:57 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py

index 129150a76018e0db185f8e7362ca03433b40819e..96e4e2f077e388dc1c3385faaf6a0bdf05abc64e 100644 (file)
@@ -233,7 +233,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
     if logger.getEffectiveLevel() <= logging.DEBUG:
         logfile = LogTee(logger, sys.stdout)
     else:
-        logfile = None
+        logfile = sys.stdout
 
     try:
         bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL,