[U-Boot] [PATCH v2 5/5] tools: patman: Handle missing 'END' in non-last commit of a series

Simon Glass sjg at chromium.org
Wed Jun 29 05:27:58 CEST 2016


On 26 June 2016 at 23:24, Bin Meng <bmeng.cn at gmail.com> wrote:
> The following python error:
>
> Traceback (most recent call last):
>   File "./tools/patman/patman", line 144, in <module>
>     series = patchstream.FixPatches(series, args)
>   File "./tools/patman/patchstream.py", line 477, in FixPatches
>     commit = series.commits[count]
> IndexError: list index out of range
>
> is seen when:
>
> - 'END' is missing in those tags
> - those tags are put in the last part in a commit message
> - the commit is not the last commit of the series
>
> Add testing logic to see if a new commit starts.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - New patch to handle missing 'END' in non-last commit of a series
>
>  tools/patman/patchstream.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

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


More information about the U-Boot mailing list