Skip to content

Commit

Permalink
Revert "waf: list boards 1/line in case of board-not-found error"
Browse files Browse the repository at this point in the history
This reverts commit 8ab74d9.

This broke the build server which parses the output of this
  • Loading branch information
peterbarker authored and tridge committed May 21, 2021
1 parent 02feaaf commit 0d05bb9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,7 @@ def get_board(ctx):

boards = _board_classes.keys()
if not ctx.env.BOARD in boards:
ctx.fatal(
"Invalid board '%s': choices are\n%sInvalid board '%s'. Options shown above this line." %
(ctx.env.BOARD,
''.join([" %s\n" % x for x in sorted(boards, key=str.lower)]),
ctx.env.BOARD))
ctx.fatal("Invalid board '%s': choices are %s" % (ctx.env.BOARD, ', '.join(sorted(boards, key=str.lower))))
_board = _board_classes[ctx.env.BOARD]()
return _board

Expand Down

0 comments on commit 0d05bb9

Please sign in to comment.