diff options
Diffstat (limited to 'src/mailman/rest/helpers.py')
| -rw-r--r-- | src/mailman/rest/helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/helpers.py b/src/mailman/rest/helpers.py index 135d950ac..a29c0599b 100644 --- a/src/mailman/rest/helpers.py +++ b/src/mailman/rest/helpers.py @@ -254,12 +254,12 @@ class ChildError: class BadRequest(ChildError): def __init__(self): - super(BadRequest, self).__init__(falcon.HTTP_400) + super().__init__(falcon.HTTP_400) class NotFound(ChildError): def __init__(self): - super(NotFound, self).__init__(falcon.HTTP_404) + super().__init__(falcon.HTTP_404) def okay(response, body=None): |
