utils.py: Fix error message (from Joshua Lock)
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 30 Sep 2008 21:11:09 +0000 (21:11 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 30 Sep 2008 21:11:09 +0000 (21:11 +0000)
lib/bb/utils.py

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