We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625ec9a commit 5923147Copy full SHA for 5923147
distributed/deploy/old_ssh.py
@@ -2,7 +2,6 @@
2
3
import logging
4
import os
5
-import socket
6
import sys
7
import traceback
8
import warnings
@@ -136,7 +135,7 @@ def read_from_stdout():
136
135
)
137
138
line = stdout.readline()
139
- except (PipeTimeout, socket.timeout):
+ except (TimeoutError, PipeTimeout):
140
pass
141
142
def read_from_stderr():
@@ -155,7 +154,7 @@ def read_from_stderr():
155
154
+ bcolors.ENDC
156
157
line = stderr.readline()
158
159
160
161
def communicate():
0 commit comments