From 6ded4e0ae7f271512f580010c9ec10c4e4218f40 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 5 Jan 2011 18:55:38 +0000 Subject: 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 --- bitbake/lib/bb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/build.py') 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, -- cgit v1.2.3-54-g00ecf