exclude aliased boards from 'get_board_mapping()'

This commit is contained in:
sommersoft 2019-07-21 12:13:13 -05:00 committed by GitHub
parent d1fecf5025
commit b630e561a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@ import build_board_info
boards_info_json = build_board_info.get_board_mapping()
# Get all the boards out of the json format
info_boards = boards_info_json.keys()
# Turn the dict_keys into a list
info_boards = list(info_boards)
info_boards = [board for board in boards_info_json.keys() if not boards_info_json[board].get("alias", False)]
# We need to know the path of the .travis.yml file
base_path = os.path.dirname(__file__)