[U-Boot] [PATCH v2] patman: fix series-notes handling for buildman

Simon Glass sjg at chromium.org
Wed Feb 24 06:12:59 CET 2016


On 2 February 2016 at 02:24, Albert ARIBAUD <albert.u.boot at aribaud.net> wrote:
> A patman series with a 'Series-notes' section causes
> buildman to crash with:
>
>     self.series.notes += self.section
>     TypeError: cannot concatenate 'str' and 'list' objects
>
> Fix by initializing series.notes as a one-element array
> rather than a scalar.
>
> Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> ---
>
> Changes in v2:
> - fix typo in commit message ("rathen" -> "rather")
> - actually limit array initialization to series.notes
>
>  tools/patman/series.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

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

Thanks.


More information about the U-Boot mailing list