Skip to content

Commit 3ad2cdd

Browse files
flake8: address B042 (#748)
2 parents 2c1ca32 + c130bf7 commit 3ad2cdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cylc/uiserver/graphql/tornado.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def qualify(x):
112112

113113

114114
class ExecutionError(Exception):
115-
def __init__(self, status_code=400, errors=None):
115+
def __init__(self, status_code, errors):
116+
super().__init__(status_code, errors)
116117
self.status_code = status_code
117118
if errors is None:
118119
self.errors = []

0 commit comments

Comments
 (0)