Commit c7406bbe authored by Guido Trotter's avatar Guido Trotter
Browse files

RetryOnSignal: handle socket error as well

Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 1c54156d
......@@ -570,7 +570,7 @@ def RetryOnSignal(fn, *args, **kwargs):
while True:
return fn(*args, **kwargs)
except EnvironmentError, err:
except (EnvironmentError, socket.error), err:
if err.errno != errno.EINTR:
except select.error, err:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment