[PATCH] buildman: Ignore blank lines during size checks

Simon Glass sjg at chromium.org
Fri Dec 6 22:37:21 CET 2019


Hi Tom,

On Fri, 6 Dec 2019 at 13:31, Tom Rini <trini at konsulko.com> wrote:
>
> 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 at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  tools/buildman/builder.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

I haven't seen this problem, but certainly this is safer.

Regards,
Simon


More information about the U-Boot mailing list