diff options
author | Marius Gedminas <marius@gedmin.as> | 2016-02-05 08:45:52 +0200 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-04-24 13:56:55 -0700 |
commit | 6c1539bbf7046e5e3d1f20725baa1ae48d1b7ce3 (patch) | |
tree | 2ec037342aa659f0fa691b0fd6afdd65edd373e4 | |
parent | 0411010d55755913fa7bd5b0a9c719c8548549f4 (diff) |
Support pickling hypothetical subclasses
-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 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, )) |