diff options
author | Joshua Lock <josh@openedhand.com> | 2008-09-30 21:07:13 +0000 |
---|---|---|
committer | Joshua Lock <josh@openedhand.com> | 2008-09-30 21:07:13 +0000 |
commit | 419f18450db6febf8fe67e789634290308f2ae20 (patch) | |
tree | baaa7300939b6dbdbe185dbbc1c69847d2a5d085 /bitbake-dev | |
parent | f0e249f5eb3daaeb1c817194559ced2e7c806a1c (diff) | |
download | poky-419f18450db6febf8fe67e789634290308f2ae20.tar.gz |
Fix better_exec error message to actually report filename.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5349 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev')
-rw-r--r-- | bitbake-dev/lib/bb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/utils.py b/bitbake-dev/lib/bb/utils.py index 9c9eb5d328..2520c252e5 100644 --- a/bitbake-dev/lib/bb/utils.py +++ b/bitbake-dev/lib/bb/utils.py | |||
@@ -176,7 +176,7 @@ def better_exec(code, context, text, realfile): | |||
176 | raise | 176 | raise |
177 | 177 | ||
178 | # print the Header of the Error Message | 178 | # print the Header of the Error Message |
179 | bb.msg.error(bb.msg.domain.Util, "Error in executing python function in: ", realfile) | 179 | bb.msg.error(bb.msg.domain.Util, "Error in executing python function in: %s" % realfile) |
180 | bb.msg.error(bb.msg.domain.Util, "Exception:%s Message:%s" % (t,value) ) | 180 | bb.msg.error(bb.msg.domain.Util, "Exception:%s Message:%s" % (t,value) ) |
181 | 181 | ||
182 | # let us find the line number now | 182 | # let us find the line number now |