diff options
Diffstat (limited to 'src/mailman/rest/listconf.py')
| -rw-r--r-- | src/mailman/rest/listconf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/rest/listconf.py b/src/mailman/rest/listconf.py index c49228c39..ad8aefcbb 100644 --- a/src/mailman/rest/listconf.py +++ b/src/mailman/rest/listconf.py @@ -104,8 +104,7 @@ def password_bytes_validator(value): def no_newlines_validator(value): value = str(value) if '\n' in value: - raise ValueError( - 'This value must be on a single line: {}'.format(value)) + raise ValueError('This value must be a single line: {}'.format(value)) return value |
