From: Joshua Lock Date: Tue, 30 Sep 2008 21:07:13 +0000 (+0000) Subject: Fix better_exec error message to actually report filename. X-Git-Tag: 2011-1~8171 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=419f18450db6febf8fe67e789634290308f2ae20;p=openembedded-core.git 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 --- 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): 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