Skip to content

Commit 245e90c

Browse files
committed
Fix lines parsing
1 parent 973f708 commit 245e90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ignoring_somethings/verify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def verify(repo: GitAutograderRepo) -> GitAutograderOutput:
2626

2727
# Read the file and parse it
2828
with open(".gitignore", "r") as gitignore_file:
29-
lines = [line for line in gitignore_file.readlines() if line.strip() == ""]
29+
lines = [line for line in gitignore_file.readlines() if line.strip() != ""]
3030

3131
comments: List[str] = []
3232
print(lines)

0 commit comments

Comments
 (0)