[travis check new boards] missing_boards as set

This commit is contained in:
C47D 2019-07-23 13:03:29 -05:00
parent c316231dd2
commit 8864cefba6

View File

@ -42,9 +42,9 @@ with open(travis_path, 'r') as travis:
info_boards.sort() info_boards.sort()
travis_boards.sort() travis_boards.sort()
missing_boards = list(set(info_boards) - set(travis_boards)) missing_boards = set(info_boards) - set(travis_boards)
if len(missing_boards) is not 0: if missing_boards:
print('Boards missing in TRAVIS_BOARDS:') print('Boards missing in TRAVIS_BOARDS:')
for board in missing_boards: for board in missing_boards:
print(board) print(board)