diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-06-21 20:52:11 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-06-21 20:52:11 -0400 |
commit | a829c432f679ff13554729569be3e4237c3e4cef (patch) | |
tree | d1b02fe9ea26956babffae42b09a404d57d47370 | |
parent | dccc563c3a581a14ceaa261b5fe0d08539f84b87 (diff) |
Python 2.7 fix for new exception message work
-rw-r--r-- | paramiko/ssh_exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ssh_exception.py b/paramiko/ssh_exception.py index 77b9efda..b525468a 100644 --- a/paramiko/ssh_exception.py +++ b/paramiko/ssh_exception.py @@ -126,7 +126,7 @@ class BadHostKeyException(SSHException): def __str__(self): msg = ( - "Host key for server {!r} does not match: got {!r}, expected {!r}" + "Host key for server '{}' does not match: got '{}', expected '{}'" ) # noqa return msg.format( self.hostname, |