buildman: Deal more nicely with invalid build-status file
authorSimon Glass <sjg@chromium.org>
Sat, 27 Apr 2019 01:02:23 +0000 (19:02 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 May 2019 23:33:23 +0000 (17:33 -0600)
commit347ea0b63eb5143bf0e48aba65a41f50999367f0
tree478e33a7c3f2465a538fcb23e03b9736e142ab03
parente679d03b08fbde6145fdef150f4b240e6d14448e
buildman: Deal more nicely with invalid build-status file

The 'done' files created by buildman may end up being empty if buildman
runs out of disk space while writing them. At present buildman dies with
an exception when using -s to check the build status. Fix this.

Seriesl-cc: trini

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py