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:
parent
f0e249f5eb
commit
419f18450d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue