summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-06-01 14:25:11 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-06-01 14:25:11 -0700
commita3c458f237a9346d10364ffc2036e8c2d487891b (patch)
tree161dfa1ffcdd68e9cdb4ab5bd7123bdaec4fb413
parent29a2fc8309a901af14d44e8fc2d7148b96f161a6 (diff)
Missed a spot
-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 746fd213..280a7f39 100644
--- a/paramiko/ssh_exception.py
+++ b/paramiko/ssh_exception.py
@@ -109,7 +109,7 @@ class BadHostKeyException (SSHException):
.. versionadded:: 1.6
"""
def __init__(self, hostname, got_key, expected_key):
- message = 'Host key for server {0} does not match: got {0}, expected {0}' # noqa
+ message = 'Host key for server {0} does not match: got {1}, expected {2}' # noqa
message = message.format(
hostname, got_key.get_base64(),
expected_key.get_base64())