poky/scripts/lib
Ross Burton 41de1ecadd scripts/lib/buildstats: handle top-level build_stats not being complete
If we try to parse a buildstats directory which was either aborted or
is still being built then the top-level build_stats file doesn't
contain an elapsed value which causes an exception:

UnboundLocalError: local variable 'elapsed' referenced before assignment

Default both start and elapsed to 0 so that the parse succeeds.

(From OE-Core rev: 701d985aa8f2e9c2b9c0736fa25b424f3701889e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-25 09:39:28 +00:00
..
build_perf meta: correct collections vs collections.abc deprecation 2021-09-19 11:33:14 +01:00
checklayer checklayer: check for patch file upstream status 2023-02-24 17:05:24 +00:00
devtool devtool/upgrade: do not delete the workspace/recipes directory 2023-03-14 17:10:00 +00:00
recipetool recipetool: Update for class changes 2022-08-12 15:27:17 +01:00
resulttool resulttool: Improve overlapping ptest result reporting 2023-03-16 22:52:15 +00:00
wic wic: Fix populating of IMAGE_EFI_BOOT_FILES with uefi-kernel 2023-02-26 11:49:00 +00:00
argparse_oe.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
buildstats.py scripts/lib/buildstats: handle top-level build_stats not being complete 2023-03-25 09:39:28 +00:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scriptutils: fix style to be more PEP8 compliant 2022-07-01 12:46:45 +01:00