Commit 1655fcc1 authored by Barry Warsaw's avatar Barry Warsaw

* Remove previously deprecated `IListManager.get_mailing_lists()`.

parent 1159b786
......@@ -26,6 +26,7 @@ Interfaces
* Add property `IUserManager.members` to return all `IMembers` in the system.
* Add property `IListmanager.name_compoments` which returns 2-tuples for
every mailing list as (list_name, mail_host).
* Remove previously deprecated `IListManager.get_mailing_lists()`.
......@@ -137,10 +137,3 @@ class IListManager(Interface):
name_components = Attribute(
"""An iterator over the 2-tuple of (list_name, mail_host) for all
mailing lists managed by this list manager.""")
def get_mailing_lists():
"""The list of all mailing lists.
:return: The list of all known mailing lists.
:rtype: list of `IMailingList`
......@@ -102,9 +102,3 @@ class ListManager:
for mail_host, list_name in result_set.values(MailingList.mail_host,
yield list_name, mail_host
# XXX 2010-02-24 barry Get rid of this.
def get_mailing_lists(self):
"""See `IListManager`."""
# lazr.restful will not allow this to be a generator.
return list(self.mailing_lists)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment