diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-09-30 14:32:05 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-09-30 14:32:05 -0700 |
commit | 0e9b78539da392170dd09d629bcfaef9cf724bc1 (patch) | |
tree | e71e8fd8fbb95365bd1207cb75625dbbff434e1c | |
parent | fb258f88b4b61627a51f30f9a21fcbc7ec35c1e6 (diff) |
No idea why this only tanked tests on Python 3, ugh @ our old crusty test suite
-rw-r--r-- | paramiko/hostkeys.py | 4 |
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 |