summaryrefslogtreecommitdiff
path: root/src/mailman/rest/users.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-08-15 12:17:03 -0400
committerBarry Warsaw2014-08-15 12:17:03 -0400
commit93cd9c35698032d8df8d744862bd7b1f95092a0c (patch)
treea93ae53c7a1e9071d7530fde9cb090346364ae5e /src/mailman/rest/users.py
parent0afbc268937456769714971a7f1f00141d21f223 (diff)
downloadmailman-93cd9c35698032d8df8d744862bd7b1f95092a0c.tar.gz
mailman-93cd9c35698032d8df8d744862bd7b1f95092a0c.tar.zst
mailman-93cd9c35698032d8df8d744862bd7b1f95092a0c.zip
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.