diff options
| author | Barry Warsaw | 2013-11-27 15:13:10 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2013-11-27 15:13:10 -0500 |
| commit | 0ce1d7a1da2e93270acc49d4527417fa6c20a911 (patch) | |
| tree | bbfa43d9f71690096ed218ca5862550a726f5994 /src/mailman/interfaces/listmanager.py | |
| parent | adde8bfb3f90f2d2204500bce75550fee8369bcb (diff) | |
| parent | b3ce2a4f6106fa4b2d014ab921f9b6a25b067de3 (diff) | |
| download | mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.tar.gz mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.tar.zst mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.zip | |
Diffstat (limited to 'src/mailman/interfaces/listmanager.py')
| -rw-r--r-- | src/mailman/interfaces/listmanager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/interfaces/listmanager.py b/src/mailman/interfaces/listmanager.py index 45b12af53..837abf310 100644 --- a/src/mailman/interfaces/listmanager.py +++ b/src/mailman/interfaces/listmanager.py @@ -97,9 +97,9 @@ class IListManager(Interface): def create(fqdn_listname): """Create a mailing list with the given name. - :type fqdn_listname: Unicode :param fqdn_listname: The fully qualified name of the mailing list, e.g. `mylist@example.com`. + :type fqdn_listname: Unicode :return: The newly created `IMailingList`. :raise `ListAlreadyExistsError` if the named list already exists. """ @@ -107,8 +107,8 @@ class IListManager(Interface): def get(fqdn_listname): """Return the mailing list with the given name, if it exists. - :type fqdn_listname: Unicode. :param fqdn_listname: The fully qualified name of the mailing list. + :type fqdn_listname: Unicode. :return: the matching `IMailingList` or None if the named list does not exist. """ @@ -116,8 +116,8 @@ class IListManager(Interface): def get_by_list_id(list_id): """Return the mailing list with the given list id, if it exists. - :type fqdn_listname: Unicode. :param fqdn_listname: The fully qualified name of the mailing list. + :type fqdn_listname: Unicode. :return: the matching `IMailingList` or None if the named list does not exist. """ @@ -125,8 +125,8 @@ class IListManager(Interface): def delete(mlist): """Remove the mailing list from the database. - :type mlist: `IMailingList` :param mlist: The mailing list to delete. + :type mlist: `IMailingList` """ mailing_lists = Attribute( |
