Skip to content

Commit

Permalink
Dashboard: Allow for empty lines in TEST_FILES
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Mar 15, 2021
1 parent 082dac6 commit e162fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dashboard/generate_regtest_survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def parse_test_files():
fn = tests_root + d + "/TEST_FILES"
content = open(fn, encoding="utf8").read()
for line in content.strip().split("\n"):
if line[0] == "#":
if not line or line.startswith("#"):
continue
parts = line.split()
name = d + "/" + parts[0]
Expand Down

0 comments on commit e162fee

Please sign in to comment.