~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/mail/branchmergeproposal.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-13 01:11:42 UTC
  • mfrom: (13668.1.31 private-bug-0)
  • Revision ID: launchpad@pqm.canonical.com-20110813011142-b8xvpxhdja422ln2
[rs=sinzui][no-qa] Moved canonical.launchpad.mail to lp.services.mail,
 bugs.mail, code.mail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Email notifications related to branch merge proposals."""
7
7
 
8
8
 
9
9
from canonical.config import config
10
 
from canonical.launchpad.mail import get_msgid
11
10
from canonical.launchpad.webapp import canonical_url
12
11
from lp.code.enums import CodeReviewNotificationLevel
13
12
from lp.code.mail.branch import BranchMailer
14
13
from lp.services.mail.basemailer import BaseMailer
 
14
from lp.services.mail.sendmail import get_msgid
15
15
 
16
16
 
17
17
class BMPMailer(BranchMailer):
148
148
            'comment': '',
149
149
            'gap': '',
150
150
            'reviews': '',
151
 
            'whiteboard': '', # No more whiteboard.
 
151
            'whiteboard': '',  # No more whiteboard.
152
152
            'diff_cutoff_warning': '',
153
153
            }
154
154
        if self.delta_text is not None: