
24 Feb
2016
24 Feb
'16
6:12 a.m.
On 2 February 2016 at 02:24, Albert ARIBAUD albert.u.boot@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@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@chromium.org Tested-by: Simon Glass sjg@chromium.org
Thanks.