mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 11:28:58 +00:00
resulttool/resultutils: Avoids tracebacks for missing logs
(From OE-Core rev: ec020699086cc56bfa37bab38065472da52b3d0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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]
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user