Commit 60c44ea2 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use removeIdleEvent() (same behaviour).

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1881 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 28a659d9
......@@ -207,10 +207,7 @@ class EpollEventManager(object):
while event_list:
event = event_list[0]
if event(t):
try:
event_list.remove(event)
except ValueError:
pass
self.removeIdleEvent(event)
else:
break
......
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