]> code.ossystems Code Review - openembedded-core.git/commitdiff
utils: improve wording of error message
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 13 Mar 2010 11:01:38 +0000 (12:01 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 25 Mar 2010 17:15:28 +0000 (17:15 +0000)
(Bitbake rev: b2486ec57c6a7adf09d0960fdf6727881b324d2f)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/utils.py

index 9a17c92414a4340e161f5c47803c0d2219f5f78e..c564d34c7a9b10c13a0adbadf0383485605bcfe5 100644 (file)
@@ -166,7 +166,7 @@ def better_compile(text, file, realfile):
         # split the text into lines again
         body = text.split('\n')
         bb.msg.error(bb.msg.domain.Util, "Error in compiling python function in: ", realfile)
-        bb.msg.error(bb.msg.domain.Util, "The lines resulting into this error were:")
+        bb.msg.error(bb.msg.domain.Util, "The lines leading to this error were:")
         bb.msg.error(bb.msg.domain.Util, "\t%d:%s:'%s'" % (e.lineno, e.__class__.__name__, body[e.lineno-1]))
 
         _print_trace(body, e.lineno)