Redis: Add IOError and OSError to connection_errors

This commit is contained in:
Ask Solem 2013-12-06 22:21:41 +00:00
parent 1438b95d8f
commit cbc6001330
1 changed files with 2 additions and 0 deletions

View File

@ -834,6 +834,8 @@ class Transport(virtual.Transport):
(virtual.Transport.connection_errors + (
InconsistencyError,
socket.error,
IOError,
OSError,
exceptions.ConnectionError,
exceptions.AuthenticationError)),
(virtual.Transport.channel_errors + (