mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 05:48:07 +00: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:
parent
c7eb843d7c
commit
da75c0b5b4
@ -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