From: Simon Glass Date: Wed, 15 Oct 2014 12:34:41 +0000 (+0200) Subject: buildman: Fix repeating board list with -l X-Git-Tag: v2015.04-rc1~110^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be338a5149da998cc8366de69d788d04a64688e1;p=u-boot buildman: Fix repeating board list with -l Ensure that we don't print duplicate board names when -l is used. Change-Id: I56adb138fc18f772ba61eba0fa194cdd7bc7efc6 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 = ''