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
This commit is contained in:
Joshua Lock 2008-09-30 21:07:13 +00:00
parent f0e249f5eb
commit 419f18450d
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ def better_exec(code, context, text, realfile):
raise
# print the Header of the Error Message
bb.msg.error(bb.msg.domain.Util, "Error in executing python function in: ", realfile)
bb.msg.error(bb.msg.domain.Util, "Error in executing python function in: %s" % realfile)
bb.msg.error(bb.msg.domain.Util, "Exception:%s Message:%s" % (t,value) )
# let us find the line number now