summaryrefslogtreecommitdiff
path: root/paramiko/ssh_exception.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-11 20:24:13 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-11 20:24:13 -0500
commitec8948158e26df0ec549e333cc2ea4bb22d56350 (patch)
tree605531478922a9b56d867e8044387711f32b68d2 /paramiko/ssh_exception.py
parent19a00412bfecd43d4fa6a13459955ccb13f29e02 (diff)
downloadparamiko-ec8948158e26df0ec549e333cc2ea4bb22d56350.tar.gz
blacken
Diffstat (limited to 'paramiko/ssh_exception.py')
-rw-r--r--paramiko/ssh_exception.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/ssh_exception.py b/paramiko/ssh_exception.py
index 620ab259..c7b0c249 100644
--- a/paramiko/ssh_exception.py
+++ b/paramiko/ssh_exception.py
@@ -125,9 +125,7 @@ class BadHostKeyException(SSHException):
self.expected_key = expected_key
def __str__(self):
- msg = (
- "Host key for server '{}' does not match: got '{}', expected '{}'"
- ) # noqa
+ msg = "Host key for server '{}' does not match: got '{}', expected '{}'" # noqa
return msg.format(
self.hostname,
self.key.get_base64(),