summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-13 12:01:38 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-25 17:15:28 +0000
commit5d90d90358ff132a4351db8433ad56b8fa55abf3 (patch)
tree194945f4833c474d400a01985820dbf274d405cd /bitbake/lib
parentc328f161f8875dfcdc97da71d99782891ecf1ea4 (diff)
downloadopenembedded-core-5d90d90358ff132a4351db8433ad56b8fa55abf3.tar.gz
openembedded-core-5d90d90358ff132a4351db8433ad56b8fa55abf3.tar.bz2
openembedded-core-5d90d90358ff132a4351db8433ad56b8fa55abf3.zip
utils: improve wording of error message
(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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 9a17c92414..c564d34c7a 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/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)