diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-08-21 18:23:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 14:16:01 +0100 |
commit | f4d4bfd2b7cd7e3b4ff6dcb92964b9ddb9db78af (patch) | |
tree | 1351fcadf4ba610c21bdf35fc11ea0efec615de3 /meta-poky | |
parent | 20704967f6436f34fa24bc9d1f477bc356b4eb9a (diff) | |
download | poky-f4d4bfd2b7cd7e3b4ff6dcb92964b9ddb9db78af.tar.gz |
utils/logparser.py: fix section check
The section might be None or '', so use "if section" for it.
Fixed:
File "/buildarea/lyang1/poky/meta/lib/oeqa/utils/logparser.py", line 113, in log_as_files
prefix += section
TypeError: Can't convert 'NoneType' object to str implicitly
[YOCTO #11547]
(From OE-Core rev: 320ea01f9eb33df462534bf08488ff6ada9bbe7b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
0 files changed, 0 insertions, 0 deletions