diff options
author | Ross Burton <ross.burton@arm.com> | 2023-03-23 12:54:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-25 09:39:28 +0000 |
commit | 41de1ecadd6f5db9549356d875af1a05f5f0036f (patch) | |
tree | 3db6562115289ad783d5db2051c855d76b606955 /documentation/.gitignore | |
parent | b553853fc44d4380267c80396c9e4f56fe026cd8 (diff) | |
download | poky-41de1ecadd6f5db9549356d875af1a05f5f0036f.tar.gz |
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>
Diffstat (limited to 'documentation/.gitignore')
0 files changed, 0 insertions, 0 deletions