From: Richard Purdie Date: Wed, 5 Jan 2011 18:55:38 +0000 (+0000) Subject: bitbake: build.py: Logging of None was losing the logs so force this to stdout so... X-Git-Tag: 2011-1~3027 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6ded4e0ae7f271512f580010c9ec10c4e4218f40;p=openembedded-core.git 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 --- diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 129150a760..96e4e2f077 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -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,