summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/listmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/listmanager.py')
-rw-r--r--src/mailman/interfaces/listmanager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/interfaces/listmanager.py b/src/mailman/interfaces/listmanager.py
index aeb564641..8a058eaa5 100644
--- a/src/mailman/interfaces/listmanager.py
+++ b/src/mailman/interfaces/listmanager.py
@@ -27,7 +27,7 @@ __all__ = [
from lazr.restful.declarations import (
- collection_default_content, export_as_webservice_collection,
+ collection_default_content, error_status, export_as_webservice_collection,
export_factory_operation)
from zope.interface import Interface, Attribute
@@ -36,6 +36,7 @@ from mailman.interfaces.mailinglist import IMailingList
+@error_status(400)
class ListAlreadyExistsError(MailmanError):
"""Attempted to create a mailing list that already exists.