summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/utils.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@openedhand.com>2008-09-30 21:07:13 +0000
committerJoshua Lock <josh@openedhand.com>2008-09-30 21:07:13 +0000
commit419f18450db6febf8fe67e789634290308f2ae20 (patch)
treebaaa7300939b6dbdbe185dbbc1c69847d2a5d085 /bitbake-dev/lib/bb/utils.py
parentf0e249f5eb3daaeb1c817194559ced2e7c806a1c (diff)
downloadpoky-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/lib/bb/utils.py')
-rw-r--r--bitbake-dev/lib/bb/utils.py2
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