diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:43:11 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:43:11 -0500 |
commit | e0c6a2c3cd84fd6b93fd4e28e3bc54dedb4b1dc3 (patch) | |
tree | 822f82a84cfa5867762ac4d313fd2187102917a0 /paramiko/ssh_exception.py | |
parent | 8d52c334b8b99eb96094edb1b513b26f864eeabd (diff) | |
download | paramiko-e0c6a2c3cd84fd6b93fd4e28e3bc54dedb4b1dc3.tar.gz |
well that's just super()!
Diffstat (limited to 'paramiko/ssh_exception.py')
-rw-r--r-- | paramiko/ssh_exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ssh_exception.py b/paramiko/ssh_exception.py index c7b0c249..3da49958 100644 --- a/paramiko/ssh_exception.py +++ b/paramiko/ssh_exception.py @@ -202,7 +202,7 @@ class NoValidConnectionsError(socket.error): msg = "Unable to connect to port {0} on {1} or {2}" else: msg = "Unable to connect to port {0} on {2}" - super(NoValidConnectionsError, self).__init__( + super().__init__( None, msg.format(addrs[0][1], body, tail) # stand-in for errno ) self.errors = errors |