]> git.sur5r.net Git - u-boot/commit
patman: fix series-notes handling for buildman
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 2 Feb 2016 09:24:53 +0000 (10:24 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 25 Feb 2016 04:06:19 +0000 (20:06 -0800)
commit070b781b2beb5298cd904fd514ba50e8530b0e2c
tree1aca664ff5052cf15323a3d9417141a5a6ec6905
parent5f3f7b79dbe83144ef5562fa212266c86cd639e2
patman: fix series-notes handling for buildman

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>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
tools/patman/series.py