Commit 8c06ae5c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a false assert: timeout can be None.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1922 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ef4acc82
...@@ -99,7 +99,6 @@ class EpollEventManager(object): ...@@ -99,7 +99,6 @@ class EpollEventManager(object):
self._addPendingConnection(to_process) self._addPendingConnection(to_process)
def _poll(self, timeout = 1): def _poll(self, timeout = 1):
assert timeout >= 0
rlist, wlist, elist = self.epoll.poll(timeout) rlist, wlist, elist = self.epoll.poll(timeout)
r_done_set = set() r_done_set = set()
for fd in rlist: for fd in rlist:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment