summaryrefslogtreecommitdiff
path: root/paramiko/packet.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/packet.py')
-rw-r--r--paramiko/packet.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/paramiko/packet.py b/paramiko/packet.py
index 9125301e..211bf946 100644
--- a/paramiko/packet.py
+++ b/paramiko/packet.py
@@ -312,9 +312,6 @@ class Packetizer:
arg = first_arg(e)
if arg == errno.EAGAIN:
got_timeout = True
- elif arg == errno.EINTR:
- # syscall interrupted; try again
- pass
elif self.__closed:
raise EOFError()
else:
@@ -340,9 +337,6 @@ class Packetizer:
arg = first_arg(e)
if arg == errno.EAGAIN:
retry_write = True
- elif arg == errno.EINTR:
- # syscall interrupted; try again
- retry_write = True
else:
n = -1
except ProxyCommandFailure:
@@ -610,11 +604,6 @@ class Packetizer:
break
except socket.timeout:
pass
- except EnvironmentError as e:
- if first_arg(e) == errno.EINTR:
- pass
- else:
- raise
if self.__closed:
raise EOFError()
now = time.time()