uasyncio: wait: Remove no longer needed "if", artifact of epoll impl.

pull/71/merge
Paul Sokolovsky 2017-03-13 00:44:58 +03:00
rodzic 4fc72c6032
commit a355801fb1
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -55,9 +55,6 @@ class PollEventLoop(EventLoop):
if DEBUG and __debug__:
log.debug("poll.wait(%d)", delay)
# We need one-shot behavior (second arg of 1 to .poll())
if delay == -1:
res = self.poller.poll(-1, 1)
else:
res = self.poller.poll(delay, 1)
#log.debug("poll result: %s", res)
# Remove "if res" workaround after