diff options
author | yoav <yoav@excelero.com> | 2021-03-04 10:54:45 +0200 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2022-06-03 19:23:59 -0400 |
commit | f6a64459a6f010f915ff0ec17cfb42dbc39e996d (patch) | |
tree | b2f016e63d74c9f8a4b8761748e6184614cdab1f | |
parent | 7b8bb927e75c07caad6a00473ad25521486ed4d3 (diff) |
split comment to lines
-rw-r--r-- | paramiko/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index ae70ac0b..c3cbcb9d 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -350,7 +350,8 @@ class SSHClient(ClosingContextManager): # Break out of the loop on success break except socket.error as e: - # As mentioned in socket docs - it is better to close sockets explicitly + # As mentioned in socket docs it is better + # to close sockets explicitly if sock: sock.close() # Raise anything that isn't a straight up connection error |