~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-25 08:55:37 UTC
  • mfrom: (13287.1.8 bug-800652)
  • Revision ID: launchpad@pqm.canonical.com-20110625085537-moikyoo2pe98zs7r
[r=jcsackett, julian-edwards][bug=800634,
        800652] Enable and display overrides on sync package uploads.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    TextLine,
26
26
    )
27
27
 
28
 
from lp import _
 
28
from canonical.launchpad import _
29
29
from lp.bugs.enum import BugNotificationStatus
30
30
from lp.bugs.interfaces.bugsubscriptionfilter import IBugSubscriptionFilter
31
31
from lp.registry.interfaces.role import IHasOwner
73
73
    def getNotificationsToSend():
74
74
        """Returns the notifications pending to be sent."""
75
75
 
76
 
    def getDeferredNotifications():
77
 
        """Returns the deferred notifications.
78
 
 
79
 
        A deferred noticiation is one that is pending but has no recipients.
80
 
        """
81
 
 
82
76
    def addNotification(self, bug, is_comment, message, recipients, activity):
83
77
        """Create a new `BugNotification`.
84
78