summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 fea3146a..ed36a952 100644
--- a/paramiko/ssh_exception.py
+++ b/paramiko/ssh_exception.py
@@ -178,4 +178,4 @@ class NoValidConnectionsError(socket.error):
self.errors = errors
def __reduce__(self):
- return (NoValidConnectionsError, (self.errors, ))
+ return (self.__class__, (self.errors, ))