diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 11:03:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 12:18:19 +0000 |
commit | 522dcaa0cb6e099665a29ea1c585270563d33e94 (patch) | |
tree | b6fe7eb5a61a0455b46a99cc1dfc860be6cb29d4 /meta | |
parent | 01d67bfa77e68a5af97dc7dc2507c341cf4f83e4 (diff) | |
download | poky-522dcaa0cb6e099665a29ea1c585270563d33e94.tar.gz |
bitbake: knotty: Improve exception error message
Instead of:
"""
can only concatenate tuple (not "int") to tuple
"""
we now see:
"""
Traceback (most recent call last):
File "/media/build1/poky/bitbake/lib/bb/ui/knotty.py", line 324, in main
termfilter.updateFooter()
File "/media/build1/poky/bitbake/lib/bb/ui/knotty.py", line 210, in updateFooter
lines = 1 + int(len(content) / (self.columns + 1))
TypeError: can only concatenate tuple (not "int") to tuple
"""
which makes tacking down and fixing the problem much easier.
Also ensure we set an error exit code.
(Bitbake rev: d965bcae6cfd268406a3bd1ef77c5bb6c6e1c6d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions