Skip to content

Commit 9718acc

Browse files
committed
grader.py: exit() -> sys.exit().
1 parent fcffaf0 commit 9718acc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

submit-a-pull-request/grader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import argparse
23
import requests
34

@@ -22,7 +23,7 @@ def report_and_exit():
2223
print("LGTM.")
2324
else:
2425
print("That doesn't LGTM.")
25-
exit()
26+
sys.exit()
2627

2728
# Check that the PR exists.
2829
if response.status_code == 404:

0 commit comments

Comments
 (0)