diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2018-09-17 18:33:49 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-09-17 18:33:49 -0700 |
commit | dc82971c1af0d147433c948dc440ffabdc276a7c (patch) | |
tree | 3bcf9317a71da26653cb614a9d7beb755d0f3cea /paramiko/hostkeys.py | |
parent | 008ac2bfb2f886346ba17bd8f47e92fa8b436a3c (diff) | |
download | paramiko-dc82971c1af0d147433c948dc440ffabdc276a7c.tar.gz |
Blacken, 2.2 edition
Diffstat (limited to 'paramiko/hostkeys.py')
-rw-r--r-- | paramiko/hostkeys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py index 20a2d93c..1cdddb62 100644 --- a/paramiko/hostkeys.py +++ b/paramiko/hostkeys.py @@ -360,7 +360,7 @@ class HostKeyEntry: key = DSSKey(data=decodebytes(key)) elif keytype in ECDSAKey.supported_key_format_identifiers(): key = ECDSAKey(data=decodebytes(key), validate_point=False) - elif keytype == 'ssh-ed25519': + elif keytype == "ssh-ed25519": key = Ed25519Key(data=decodebytes(key)) else: log.info("Unable to handle key of type %s" % (keytype,)) |