]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix better_exec error message to actually report filename.
authorJoshua Lock <josh@openedhand.com>
Tue, 30 Sep 2008 21:07:13 +0000 (21:07 +0000)
committerJoshua Lock <josh@openedhand.com>
Tue, 30 Sep 2008 21:07:13 +0000 (21:07 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5349 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake-dev/lib/bb/utils.py

index 9c9eb5d328e1d448a1b8acc76c8e2e89a88734ed..2520c252e5e5c6c9245af70da652829cae5e94ac 100644 (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