summaryrefslogtreecommitdiff
path: root/src/mailman/rest/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/users.py')
-rw-r--r--src/mailman/rest/users.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/rest/users.py b/src/mailman/rest/users.py
index 645b83a36..798fe699d 100644
--- a/src/mailman/rest/users.py
+++ b/src/mailman/rest/users.py
@@ -120,8 +120,7 @@ class AllUsers(_UserBase):
user = getUtility(IUserManager).create_user(**arguments)
except ExistingAddressError as error:
bad_request(
- response,
- body=b'Address already exists: {0}'.format(error.address))
+ response, b'Address already exists: {0}'.format(error.address))
return
if password is None:
# This will have to be reset since it cannot be retrieved.