~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Brad Crittenden
  • Date: 2011-08-04 00:59:46 UTC
  • mto: (13627.2.1 bug-813322-2)
  • mto: This revision was merged to the branch mainline in revision 13715.
  • Revision ID: bac@canonical.com-20110804005946-030kaefvuljz5j3z
Horrible checkpoint

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
__all__ = [
11
11
    "construct_email_notifications",
12
12
    "get_email_notifications",
 
13
    "process_deferred_recipients",
13
14
    ]
14
15
 
15
16
from itertools import groupby
296
297
            log.exception("Error while building email notifications.")
297
298
            transaction.abort()
298
299
            transaction.begin()
 
300
 
 
301
 
 
302
def process_deferred_notifications(bug_notifications):
 
303
    for notification in bug_notifications:
 
304
        # Construct the real notification with recipients.