diff options
author | Christopher Larson <chris_larson@mentor.com> | 2011-10-28 21:32:26 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:16:12 +0000 |
commit | 2b26745c70a01bbabf5a303fe12a8b3b41071890 (patch) | |
tree | 8e1949e25863c5bf4088146c9d6674d7936344d3 /bitbake/doc | |
parent | 28ca6cc34b88eaddaa31b25c1d0dd2742c1638dd (diff) | |
download | poky-2b26745c70a01bbabf5a303fe12a8b3b41071890.tar.gz |
codeparser: accept a name for better messages
- If a name is passed to the parser, prepend the messages with "while
parsing <name>:". This gives a bit more context.
- Tweak the warning messages slightly (they had to be altered anyway to
inject the variable being parsed).
Before:
DEBUG: Warning: in call to 'bb.data.getVar': argument ''%s' % var' is \
not a literal
After:
DEBUG: while parsing emit_pkgdata, in call of bb.data.getVar, argument \
''%s' % var' is not a string literal
(Bitbake rev: 1060193ae4d54e667735dbff5d1d2be49a3f95c9)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
0 files changed, 0 insertions, 0 deletions