diff options
| author | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
| commit | 0fa9260a3d23b7ba17de727e66bcc27a0aeacc29 (patch) | |
| tree | bc45a5ba133e22eac478196436f9e5360c74ebfe /src/mailman/interfaces/listmanager.py | |
| parent | 6ebd29504f204913a1c57f64d802151fc97bfb41 (diff) | |
| download | mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.gz mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.zst mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.zip | |
Diffstat (limited to 'src/mailman/interfaces/listmanager.py')
| -rw-r--r-- | src/mailman/interfaces/listmanager.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mailman/interfaces/listmanager.py b/src/mailman/interfaces/listmanager.py index 5958d677a..f47fe658e 100644 --- a/src/mailman/interfaces/listmanager.py +++ b/src/mailman/interfaces/listmanager.py @@ -27,9 +27,6 @@ __all__ = [ ] -from lazr.restful.declarations import ( - collection_default_content, error_status, export_as_webservice_collection, - export_factory_operation) from zope.interface import Interface, Attribute from mailman.interfaces.errors import MailmanError @@ -37,7 +34,6 @@ from mailman.interfaces.mailinglist import IMailingList -@error_status(400) class ListAlreadyExistsError(MailmanError): """Attempted to create a mailing list that already exists. @@ -46,7 +42,6 @@ class ListAlreadyExistsError(MailmanError): """ -@error_status(400) class NoSuchListError(MailmanError): """Attempt to access a mailing list that does not exist.""" @@ -68,8 +63,6 @@ class IListManager(Interface): `mylist@example.com`. """ - export_as_webservice_collection(IMailingList) - def create(fqdn_listname): """Create a mailing list with the given name. @@ -104,7 +97,6 @@ class IListManager(Interface): """An iterator over the fully qualified list names of all mailing lists managed by this list manager.""") - @collection_default_content() def get_mailing_lists(): """The list of all mailing lists. @@ -112,7 +104,6 @@ class IListManager(Interface): :rtype: list of `IMailingList` """ - @export_factory_operation(IMailingList, ('fqdn_listname',)) def new(fqdn_listname): """Add a new maling list. |
