diff options
| author | Barry Warsaw | 2013-11-25 21:26:15 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2013-11-25 21:26:15 -0500 |
| commit | 833633741f110354408b3e0cfd7f733a2541e97c (patch) | |
| tree | 4f63f9bb3a9b17a2250b398a6f80f51e6080a82d /src/mailman/interfaces/listmanager.py | |
| parent | 91a39201f65747fde915495813e41ff324f87625 (diff) | |
| download | mailman-833633741f110354408b3e0cfd7f733a2541e97c.tar.gz mailman-833633741f110354408b3e0cfd7f733a2541e97c.tar.zst mailman-833633741f110354408b3e0cfd7f733a2541e97c.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( |
