Skip to content

Commit d4ada71

Browse files
author
Alexander Brugh
committed
implementing the revert suggested by @shin- ages ago
1 parent f97c577 commit d4ada71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/utils/socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def read(socket, n=4096):
2727

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

30-
if six.PY3 and not isinstance(socket, NpipeSocket):
30+
if not isinstance(socket, NpipeSocket):
3131
select.select([socket], [], [])
3232

3333
try:

0 commit comments

Comments
 (0)