summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-13 12:01:38 +0100
committerChris Larson <clarson@kergoth.com>2010-03-23 11:34:21 -0700
commitb2486ec57c6a7adf09d0960fdf6727881b324d2f (patch)
tree8fc97b6749480bf2d2c120339602ed6fe908238a
parentd612d22b073f68b8cf1bb7344e0487820040d80d (diff)
downloadbitbake-b2486ec57c6a7adf09d0960fdf6727881b324d2f.tar.gz
utils: improve wording of error message
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Chris Larson <clarson@kergoth.com>
-rw-r--r--lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 9a17c9241..c564d34c7 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -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)