From: Simon Glass Date: Thu, 16 Oct 2014 07:05:55 +0000 (-0600) Subject: buildman: Fix repeating board list with -l X-Git-Tag: v2015.01-rc3~39^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f66153be193af3d4aa4d3630e7dcb41bfd6313b6;p=oweals%2Fu-boot.git buildman: Fix repeating board list with -l Ensure that we don't print duplicate board names when -l is used. Signed-off-by: Simon Glass Reported-by: Albert Aribaud --- diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 8155c1681e..7002034221 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -918,7 +918,8 @@ class Builder: if self._list_error_boards: names = [] for board in line_boards[line]: - names.append(board.target) + if not board.target in names: + names.append(board.target) names_str = '(%s) ' % ','.join(names) else: names_str = ''