summaryrefslogtreecommitdiff
path: root/src/mailman/rest/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-01-26 15:32:19 -0500
committerBarry Warsaw2016-01-26 15:32:19 -0500
commit802ce668e67f51f904c69fdab2f5565a73c15e8a (patch)
tree8ec85559627422b0b13b520cacdc8a776aeee640 /src/mailman/rest/helpers.py
parent57a07393e984dbbc356bc05f0c6801ffe1536b47 (diff)
downloadmailman-802ce668e67f51f904c69fdab2f5565a73c15e8a.tar.gz
mailman-802ce668e67f51f904c69fdab2f5565a73c15e8a.tar.zst
mailman-802ce668e67f51f904c69fdab2f5565a73c15e8a.zip
Diffstat (limited to 'src/mailman/rest/helpers.py')
-rw-r--r--src/mailman/rest/helpers.py4
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):