From 8864cefba6a6b307a2678d4de7540a9db15c03e1 Mon Sep 17 00:00:00 2001 From: C47D Date: Tue, 23 Jul 2019 13:03:29 -0500 Subject: [PATCH] [travis check new boards] missing_boards as set --- tools/travis_new_boards_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/travis_new_boards_check.py b/tools/travis_new_boards_check.py index facfb601db..81ccec6754 100644 --- a/tools/travis_new_boards_check.py +++ b/tools/travis_new_boards_check.py @@ -42,9 +42,9 @@ with open(travis_path, 'r') as travis: info_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:') for board in missing_boards: print(board)