summaryrefslogtreecommitdiff
path: root/paramiko/hostkeys.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-09-30 14:32:05 -0700
committerJeff Forcier <jeff@bitprophet.org>2015-09-30 14:32:05 -0700
commit0e9b78539da392170dd09d629bcfaef9cf724bc1 (patch)
treee71e8fd8fbb95365bd1207cb75625dbbff434e1c /paramiko/hostkeys.py
parentfb258f88b4b61627a51f30f9a21fcbc7ec35c1e6 (diff)
downloadparamiko-0e9b78539da392170dd09d629bcfaef9cf724bc1.tar.gz
No idea why this only tanked tests on Python 3, ugh @ our old crusty test suite
Diffstat (limited to 'paramiko/hostkeys.py')
-rw-r--r--paramiko/hostkeys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py
index 7e2d22cf..c7e1f72e 100644
--- a/paramiko/hostkeys.py
+++ b/paramiko/hostkeys.py
@@ -19,7 +19,6 @@
import binascii
import os
-import ssh_exception
from hashlib import sha1
from hmac import HMAC
@@ -36,6 +35,7 @@ from paramiko.dsskey import DSSKey
from paramiko.rsakey import RSAKey
from paramiko.util import get_logger, constant_time_bytes_eq
from paramiko.ecdsakey import ECDSAKey
+from paramiko.ssh_exception import SSHException
class HostKeys (MutableMapping):
@@ -99,7 +99,7 @@ class HostKeys (MutableMapping):
continue
try:
e = HostKeyEntry.from_line(line, lineno)
- except ssh_exception.SSHException:
+ except SSHException:
continue
if e is not None:
_hostnames = e.hostnames