diff options
author | Dorian Pula <dorian.pula@amber-penguin-software.ca> | 2017-05-30 12:02:17 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 17:14:40 -0700 |
commit | ecb297518267487853813109da946d7240d717e1 (patch) | |
tree | 9974aecc603adad39e6bb88034c08dd74d91340e /paramiko/ecdsakey.py | |
parent | 98f682815cdd33a2f1999b931582e2467bb59754 (diff) | |
download | paramiko-ecb297518267487853813109da946d7240d717e1.tar.gz |
Additional PEP8 fixes.
Diffstat (limited to 'paramiko/ecdsakey.py')
-rw-r--r-- | paramiko/ecdsakey.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py index e4f74310..51f8d8ce 100644 --- a/paramiko/ecdsakey.py +++ b/paramiko/ecdsakey.py @@ -237,13 +237,13 @@ class ECDSAKey(PKey): if bits is not None: curve = cls._ECDSA_CURVES.get_by_key_length(bits) if curve is None: - raise ValueError("Unsupported key length: %d"%(bits)) + raise ValueError("Unsupported key length: %d" % bits) curve = curve.curve_class() private_key = ec.generate_private_key(curve, backend=default_backend()) return ECDSAKey(vals=(private_key, private_key.public_key())) - ### internals... + # ...internals... def _from_private_key_file(self, filename, password): data = self._read_private_key_file('EC', filename, password) |