~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/gpg/handler.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
from lazr.restful.utils import get_current_browser_request
28
28
from zope.interface import implements
29
29
 
 
30
from canonical.config import config
 
31
from lp.services.webapp import errorlog
 
32
from canonical.lazr.timeout import (
 
33
    TimeoutError,
 
34
    urlfetch,
 
35
    )
30
36
from lp.app.validators.email import valid_email
31
37
from lp.registry.interfaces.gpg import (
32
38
    GPGKeyAlgorithm,
33
39
    valid_fingerprint,
34
40
    )
35
 
from lp.services.config import config
36
41
from lp.services.gpg.interfaces import (
37
42
    GPGKeyDoesNotExistOnServer,
38
43
    GPGKeyExpired,
49
54
    SecretGPGKeyImportDetected,
50
55
    )
51
56
from lp.services.timeline.requesttimeline import get_request_timeline
52
 
from lp.services.timeout import (
53
 
    TimeoutError,
54
 
    urlfetch,
55
 
    )
56
 
from lp.services.webapp import errorlog
57
57
 
58
58
 
59
59
signing_only_param = """