buildman: Ignore blank lines during size checks
authorTom Rini <trini@konsulko.com>
Fri, 6 Dec 2019 20:31:31 +0000 (15:31 -0500)
committerSimon Glass <sjg@chromium.org>
Wed, 11 Dec 2019 04:11:31 +0000 (21:11 -0700)
commitd08c38c32f64498946230059bd4ec1431c23476a
tree59db2207e76812ba0e5ed6bf46d4ccf8f038773b
parent57cb9d52397c9051d7b3d27bd107cce04a16846f
buildman: Ignore blank lines during size checks

Today when parsing the .sizes files we get a warning about an invalid
line in the file as it's blank.  Solve this by checking that we have a
non-blank line prior to processing.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py