Skip to content

Commit 94d4d81

Browse files
committed
Fix CI Coveralls Exception
coveralls.exception.CoverallsException: Got coverage library error: Couldn't parse 'tin/apps/assignments/tasks.py' as Python source: 'multiple exception types must be parenthesized' at line 57
1 parent c326845 commit 94d4d81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tin/apps/assignments/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run_moss(moss_result_id):
5454
url = runner.send()
5555
moss_result.url = url
5656
moss_result.status = "Done"
57-
except ConnectionResetError, BrokenPipeError:
57+
except (ConnectionResetError, BrokenPipeError):
5858
moss_result.status = "Invalid Moss User ID"
5959
except ConnectionError:
6060
moss_result.status = "Connection refused"

0 commit comments

Comments
 (0)