~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/mailinglist.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-04 22:21:41 UTC
  • mfrom: (14617.3.4 mailinglists-use-people)
  • Revision ID: launchpad@pqm.canonical.com-20120104222141-0g1fa43d7ibeuytg
[r=sinzui][no-qa] Clean up
        MailingList(Set).get(Subscribed|Sender)Address,
        and fix them to not use EmailAddress.account.

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
    def getSubscribedAddresses():
406
406
        """Return the set of subscribed email addresses for members.
407
407
 
408
 
        :return: an iterator over the subscribed IEmailAddresses for all
409
 
            subscribed members of the mailing list, in no particular order.
410
 
            This represents all the addresses which will receive messages
411
 
            posted to the mailing list.
 
408
        :return: a list of email addresses (as strings) for all
 
409
            subscribed members of the mailing list.
412
410
        """
413
411
 
414
412
    def getSubscribers():
421
419
    def getSenderAddresses():
422
420
        """Return the set of all email addresses for members.
423
421
 
424
 
        :return: an iterator over the all the registered and validated
425
 
            IEmailAddresses for all members of the mailing list's team, in
426
 
            no particular order.  These represent all the addresses which are
 
422
        :return: a list of the registered and validated email addresses
 
423
            (as strings) for all members of the mailing list's team, in no
 
424
            particular order.  These represent all the addresses which are
427
425
            allowed to post to the mailing list.
428
426
        """
429
427