~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/mail/incoming.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-30 10:09:30 UTC
  • mfrom: (14606.2.8 apocalibrarian)
  • Revision ID: launchpad@pqm.canonical.com-20111230100930-kp3e0l6wakissewm
[r=wgrant][no-qa] Move canonical.librarian to
        lp.services.librarian(server).

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    directlyProvides,
27
27
    )
28
28
 
29
 
from lp.services.mail.notification import (
30
 
    send_process_error_notification,
31
 
    )
32
 
from lp.services.webapp.errorlog import (
33
 
    ErrorReportingUtility,
34
 
    ScriptRequest,
35
 
    )
36
 
from lp.services.webapp.interaction import (
37
 
    get_current_principal,
38
 
    setupInteraction,
39
 
    )
40
 
from lp.services.webapp.interfaces import IPlacelessAuthUtility
41
 
from canonical.librarian.interfaces import UploadFailed
42
29
from lp.registry.interfaces.person import IPerson
43
30
from lp.services.features import getFeatureFlag
44
31
from lp.services.gpg.interfaces import (
46
33
    IGPGHandler,
47
34
    )
48
35
from lp.services.identity.interfaces.account import AccountStatus
 
36
from lp.services.librarian.interfaces.client import UploadFailed
49
37
from lp.services.mail.handlers import mail_handlers
50
38
from lp.services.mail.helpers import (
51
39
    ensure_sane_signature_timestamp,
54
42
    )
55
43
from lp.services.mail.interfaces import IWeaklyAuthenticatedPrincipal
56
44
from lp.services.mail.mailbox import IMailBox
 
45
from lp.services.mail.notification import send_process_error_notification
57
46
from lp.services.mail.sendmail import do_paranoid_envelope_to_validation
58
47
from lp.services.mail.signedmessage import signed_message_from_string
 
48
from lp.services.webapp.errorlog import (
 
49
    ErrorReportingUtility,
 
50
    ScriptRequest,
 
51
    )
 
52
from lp.services.webapp.interaction import (
 
53
    get_current_principal,
 
54
    setupInteraction,
 
55
    )
 
56
from lp.services.webapp.interfaces import IPlacelessAuthUtility
59
57
 
60
58
# Match '\n' and '\r' line endings. That is, all '\r' that are not
61
59
# followed by a '\n', and all '\n' that are not preceded by a '\r'.