mercurial/posix.py
changeset 49310 ee4537e365c8
parent 49037 642e31cb55f0
child 49313 53e9422a9b45
--- a/mercurial/posix.py	Tue May 31 03:39:42 2022 +0200
+++ b/mercurial/posix.py	Tue May 31 04:11:34 2022 +0200
@@ -716,14 +716,7 @@
 
     In unsupported cases, it will raise a NotImplementedError"""
     try:
-        while True:
-            try:
-                res = select.select(fds, fds, fds)
-                break
-            except select.error as inst:
-                if inst.args[0] == errno.EINTR:
-                    continue
-                raise
+        res = select.select(fds, fds, fds)
     except ValueError:  # out of range file descriptor
         raise NotImplementedError()
     return sorted(list(set(sum(res, []))))