mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 15:40:23 +00:00
resulttool/resultutils: Avoids tracebacks for missing logs
(From OE-Core rev: faacf35d748067fd17d169c09bc2759606e6e819) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
10b6fbfb8a
commit
094b6ea1fc
@ -61,7 +61,8 @@ def append_resultsdata(results, f, configmap=store_map):
|
||||
del data[res]['result']['ptestresult.rawlogs']
|
||||
if 'ptestresult.sections' in data[res]['result']:
|
||||
for i in data[res]['result']['ptestresult.sections']:
|
||||
del data[res]['result']['ptestresult.sections'][i]['log']
|
||||
if 'log' in data[res]['result']['ptestresult.sections'][i]:
|
||||
del data[res]['result']['ptestresult.sections'][i]['log']
|
||||
results[testpath][res] = data[res]
|
||||
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user