bitbake: build.py: Logging of None was losing the logs so force this to stdout so we can see function execution failures

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-01-05 18:55:38 +00:00
parent a47c6415bd
commit 6ded4e0ae7

View 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,