~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/mail/notification.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-05 16:26:42 UTC
  • mfrom: (13588.1.17 local-latency-port)
  • Revision ID: launchpad@pqm.canonical.com-20110805162642-hgal6meu10l3utts
[r=henninge][bug=821482][no-qa] Add --port option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    get_email_template,
25
25
    )
26
26
from canonical.launchpad.interfaces.launchpad import ILaunchpadRoot
 
27
from lp.services.messages.interfaces.message import (
 
28
    IDirectEmailAuthorization,
 
29
    QuotaReachedError,
 
30
    )
 
31
from canonical.launchpad.mail import (
 
32
    format_address,
 
33
    sendmail,
 
34
    simple_sendmail,
 
35
    )
27
36
from canonical.launchpad.webapp.publisher import canonical_url
28
37
from canonical.launchpad.webapp.url import urlappend
29
38
from lp.registry.interfaces.mailinglist import IHeldMessageDetails
37
46
    )
38
47
from lp.services.mail.mailwrapper import MailWrapper
39
48
from lp.services.mail.notificationrecipientset import NotificationRecipientSet
40
 
from lp.services.mail.sendmail import (
41
 
    format_address,
42
 
    sendmail,
43
 
    simple_sendmail,
44
 
    )
45
 
from lp.services.messages.interfaces.message import (
46
 
    IDirectEmailAuthorization,
47
 
    QuotaReachedError,
48
 
    )
 
49
 
49
50
 
50
51
# Silence lint warnings.
51
52
NotificationRecipientSet