mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
resulttool/resultutils: Avoids tracebacks for missing logs
(From OE-Core rev: d5d62b31b192b88c6a829099b74bfb30583b066e) 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