Skip to content

Commit

Permalink
(fbt_run) Bugfix: Do not process empty lines from skip file
Browse files Browse the repository at this point in the history
  • Loading branch information
pcisar committed Dec 5, 2016
1 parent 33a7ebd commit ccf8a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2486,7 +2486,7 @@ def run_tests(self,options):
skip_names = []
if os.path.isfile(options.skip):
skip_file = open(options.skip,'rU')
skip_names.extend(line.rstrip() for line in skip_file.readlines())
skip_names.extend(line.rstrip() for line in skip_file.readlines() if line.strip() != '')
skip_file.close()
else:
skip_names.append(options.skip)
Expand Down

0 comments on commit ccf8a42

Please sign in to comment.