diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
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): | |||
166 | # split the text into lines again | 166 | # split the text into lines again |
167 | body = text.split('\n') | 167 | body = text.split('\n') |
168 | bb.msg.error(bb.msg.domain.Util, "Error in compiling python function in: ", realfile) | 168 | bb.msg.error(bb.msg.domain.Util, "Error in compiling python function in: ", realfile) |
169 | bb.msg.error(bb.msg.domain.Util, "The lines resulting into this error were:") | 169 | bb.msg.error(bb.msg.domain.Util, "The lines leading to this error were:") |
170 | bb.msg.error(bb.msg.domain.Util, "\t%d:%s:'%s'" % (e.lineno, e.__class__.__name__, body[e.lineno-1])) | 170 | bb.msg.error(bb.msg.domain.Util, "\t%d:%s:'%s'" % (e.lineno, e.__class__.__name__, body[e.lineno-1])) |
171 | 171 | ||
172 | _print_trace(body, e.lineno) | 172 | _print_trace(body, e.lineno) |