~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/blueprints/mail/notifications.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
__metaclass__ = type
6
6
 
7
 
from canonical.database.sqlbase import block_implicit_flushes
8
 
from canonical.launchpad.helpers import (
 
7
from lp.blueprints.interfaces.specification import ISpecification
 
8
from lp.registry.interfaces.person import IPerson
 
9
from lp.services.database.sqlbase import block_implicit_flushes
 
10
from lp.services.mail.helpers import (
9
11
    get_contact_email_addresses,
10
12
    get_email_template,
11
13
    )
 
14
from lp.services.mail.mailwrapper import MailWrapper
12
15
from lp.services.mail.notification import get_unified_diff
13
 
from canonical.launchpad.webapp.publisher import canonical_url
14
 
from lp.blueprints.interfaces.specification import ISpecification
15
 
from lp.registry.interfaces.person import IPerson
16
 
from lp.services.mail.mailwrapper import MailWrapper
17
16
from lp.services.mail.sendmail import simple_sendmail_from_person
 
17
from lp.services.webapp.publisher import canonical_url
18
18
 
19
19
 
20
20
def specification_notification_subject(spec):