summaryrefslogtreecommitdiff
path: root/paramiko/ssh_exception.py
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:16 -0700
commit08b07ebde3d6699073e9d1a0f599f940a1834d71 (patch)
tree125bee6e527363f8ea00470bb691360c220ec1a7 /paramiko/ssh_exception.py
parentf645c57889e5faf20c0849c74e57eb5e626cc67a (diff)
downloadparamiko-08b07ebde3d6699073e9d1a0f599f940a1834d71.tar.gz
Missed a spot
Diffstat (limited to 'paramiko/ssh_exception.py')
-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())