Merge branch 'bugfix/known_failure_cases_read_file_error' into 'master'

ci: bugfix: known failure cases cannot read files

See merge request espressif/esp-idf!12340
pull/6634/head
Anton Maklakov 2021-02-10 12:27:23 +08:00
commit 0bbc721a63
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -52,7 +52,7 @@ class Runner(threading.Thread):
@staticmethod @staticmethod
def _get_config_cases(config_file): def _get_config_cases(config_file):
res = set() res = set()
if not config_file or os.path.isfile(config_file): if not config_file or not os.path.isfile(config_file):
return res return res
for line in open(config_file).readlines(): for line in open(config_file).readlines():