[oe-commits] [bitbake] 06/11: bin/bitbake-worker: Fix invalid bb.msg.fatal usage
git at git.openembedded.org
git at git.openembedded.org
Wed May 11 15:15:34 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit cdff46d8d6487e9f15fc4e4e9b5183bcb2d8e7ed
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed May 11 14:13:59 2016 +0100
bin/bitbake-worker: Fix invalid bb.msg.fatal usage
The logging domain specified to bb.msg.fatal was invalid. Replace with
a logger.critial() call instead.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
bin/bitbake-worker | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/bitbake-worker b/bin/bitbake-worker
index a4e8914..eb80306 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -159,7 +159,7 @@ def fork_off_task(cfg, data, workerdata, fn, task, taskname, appends, taskdepdat
pipeout = os.fdopen(pipeout, 'wb', 0)
pid = os.fork()
except OSError as e:
- bb.msg.fatal("RunQueue", "fork failed: %d (%s)" % (e.errno, e.strerror))
+ logger.critical("fork failed: %d (%s)" % (e.errno, e.strerror))
if pid == 0:
def child():
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list