Don't raise timeouts as ProxyCommand failures, thanks @mgedmin
This commit is contained in:
parent
4402f67fa6
commit
d438ff6b64
|
@ -100,6 +100,8 @@ class ProxyCommand(object):
|
|||
result = ''.join(self.buffer)
|
||||
self.buffer = []
|
||||
return result
|
||||
except socket.timeout:
|
||||
raise # socket.timeout is a subclass of IOError
|
||||
except IOError, e:
|
||||
raise ProxyCommandFailure(' '.join(self.cmd), e.strerror)
|
||||
|
||||
|
|
Loading…
Reference in New Issue