~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/devscripts/ec2test/credentials.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:18:30 UTC
  • mfrom: (14564.3.2 megalint-6)
  • Revision ID: launchpad@pqm.canonical.com-20111222041830-444w19r626s6qkzj
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
import boto
15
15
import boto.ec2
16
16
from bzrlib.errors import BzrCommandError
 
17
from devscripts.ec2test import instance
17
18
from devscripts.ec2test.account import EC2Account
18
 
from devscripts.ec2test import instance
19
19
 
20
20
 
21
21
class CredentialsError(BzrCommandError):
23
23
 
24
24
    _fmt = (
25
25
        "Please put your aws access key identifier and secret access "
26
 
        "key identifier in %(filename)s. (On two lines).  %(extra)s" )
 
26
        "key identifier in %(filename)s. (On two lines).  %(extra)s")
27
27
 
28
28
    def __init__(self, filename, extra=None):
29
29
        super(CredentialsError, self).__init__(filename=filename, extra=extra)