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

Simon Glass sjg at chromium.org
Thu Feb 25 16:29:34 CET 2016


On 23 February 2016 at 22:12, Simon Glass <sjg at chromium.org> wrote:
> 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.

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list