summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-08 17:05:24 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-08 17:05:24 -0700
commitea9c1d2801440f8bc8859f1c3638033b09a86fa2 (patch)
tree9cf76dd6adbf17fbfb37170fb9eb898dadf2e715
parentabd63a1334a1874ac3c85a00a9abeffb39eb049e (diff)
downloadparamiko-ea9c1d2801440f8bc8859f1c3638033b09a86fa2.tar.gz
Unclear why this was a docstring, it feels like a comment
-rw-r--r--paramiko/client.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/paramiko/client.py b/paramiko/client.py
index e773c1b6..62fc90ce 100644
--- a/paramiko/client.py
+++ b/paramiko/client.py
@@ -270,11 +270,9 @@ class SSHClient (object):
else:
server_hostkey_name = "[%s]:%d" % (hostname, port)
- """
- If GSS-API Key Exchange is performed we are not required to check the
- host key, because the host is authenticated via GSS-API / SSPI as well
- as out client.
- """
+ # If GSS-API Key Exchange is performed we are not required to check the
+ # host key, because the host is authenticated via GSS-API / SSPI as
+ # well as our client.
if not self._transport.use_gss_kex:
our_server_key = self._system_host_keys.get(server_hostkey_name,
{}).get(keytype, None)