~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/process-one-mail.py

  • Committer: Stuart Bishop
  • Date: 2011-09-28 12:49:24 UTC
  • mfrom: (9893.10.1 trivial)
  • mto: This revision was merged to the branch mainline in revision 14178.
  • Revision ID: stuart.bishop@canonical.com-20110928124924-m5a22fymqghw6c5i
Merged trivial into distinct-db-users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
import sys
11
11
 
12
 
from zope.component.interfaces import ComponentLookupError
13
 
 
14
12
from canonical.config import config
15
 
from lp.services.scripts.base import (
16
 
    LaunchpadScript, LaunchpadScriptFailure)
 
13
from lp.services.scripts.base import LaunchpadScript
17
14
from lp.services.mail.incoming import (
18
15
    handle_one_mail)
19
 
from canonical.launchpad.interfaces.mailbox import IMailBox
20
16
from lp.services.mail.helpers import (
21
17
    save_mail_to_librarian,
22
18
    )
23
 
from lp.services.mail.signedmessage import signed_message_from_string    
 
19
from lp.services.mail.signedmessage import signed_message_from_string
 
20
 
24
21
 
25
22
class ProcessMail(LaunchpadScript):
26
23
    usage = """%prog [options] [MAIL_FILE]