Skip to content

Commit

Permalink
implementing the revert suggested by @shin- ages ago
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Brugh <[email protected]>
  • Loading branch information
Alexander Brugh authored and Ulysses Souza committed Apr 3, 2019
1 parent 1b572a4 commit 1a98e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/utils/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def read(socket, n=4096):

recoverable_errors = (errno.EINTR, errno.EDEADLK, errno.EWOULDBLOCK)

if six.PY3 and not isinstance(socket, NpipeSocket):
if not isinstance(socket, NpipeSocket):
select.select([socket], [], [])

try:
Expand Down

0 comments on commit 1a98e59

Please sign in to comment.