~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bugnotification.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    Bool,
23
23
    Choice,
24
24
    Datetime,
25
 
    Int,
26
25
    TextLine,
27
26
    )
28
27
 
81
80
        `BugNotificationRecipient` objects.
82
81
        """
83
82
 
84
 
    def getFiltersByRecipient(notifications, person):
85
 
        """Return filters for a particular recipient."""
 
83
    def getRecipientFilterData(recipient_to_sources, notifications):
 
84
        """Get non-muted recipients mapped to sources & filter descriptions.
 
85
 
 
86
        :param recipient_to_sources:
 
87
            A dict of people who are to receive the email to the sources
 
88
            (BugNotificationRecipients) that represent the subscriptions that
 
89
            caused the notifications to be sent.
 
90
        :param notifications: the notifications that are being communicated.
 
91
        """
86
92
 
87
93
 
88
94
class IBugNotificationRecipient(Interface):