summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/ssh_exception.py2
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,