summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/rest/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/helpers.py b/src/mailman/rest/helpers.py
index 57026d40a..7cacc2e6c 100644
--- a/src/mailman/rest/helpers.py
+++ b/src/mailman/rest/helpers.py
@@ -127,7 +127,7 @@ def paginate(default_count=None):
try:
count = int(request.GET['count'])
page = int(request.GET['page'])
- # Wrong parameter types or not GET attributer in GET request.
+ # Wrong parameter types or no GET attribute in request object.
except (AttributeError, ValueError, TypeError):
return http.bad_request([], b'Invalid parameters')
# No count/page params: Use defaults.