[U-Boot] [PATCH v2 0/1] Fix patman Series-notes handling for buildman

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Feb 2 10:24:52 CET 2016


Creating a branch with a Series-notes and running buildman
on that branch results in a buildman error of the form
"TypeError: cannot concatenate 'str' and 'list' objects".
This "series" fixes that by initializing series.notes as an
array, not a scalar. This is a single and short patch which
would not normally require a Cover-letter (which you are
reading now) and Series-notes (which you'll read soon), but
I thought it quite elegant to test this patch with itself.
And anyway I could not resist.

This patch was tested by actually including a Series-notes
(you are reading it now) and therefore a Cover-letter (you
have read it already) in the local commit containing this
patch, running buildman on it to check that it does not
break any more, then running patman on it to both test that
patman does not break as it would have with v1 of the patch,
and actually submit the patch.

Changes in v2:
- fix typo in commit message ("rathen" -> "rather")
- actually limit array initialization to series.notes

Albert ARIBAUD (1):
  patman: fix series-notes handling for buildman

 tools/patman/series.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.5.0



More information about the U-Boot mailing list