diff options
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 33d414a..2c94813 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -109,6 +109,8 @@ def poll(timeout=0.0, map=None): except select.error, err: if err[0] != EINTR: raise + else: + return for fd in r: obj = map.get(fd) |