Commit d8dcf49b authored by Denis Bilenko's avatar Denis Bilenko

event.py: use _NONE from gevent.timeout

parent 26efb174
...@@ -4,7 +4,7 @@ import sys ...@@ -4,7 +4,7 @@ import sys
import traceback import traceback
from gevent import core from gevent import core
from gevent.hub import get_hub, getcurrent from gevent.hub import get_hub, getcurrent
from gevent.timeout import Timeout from gevent.timeout import Timeout, _NONE
class Event(object): class Event(object):
...@@ -194,6 +194,3 @@ def waitall(events): ...@@ -194,6 +194,3 @@ def waitall(events):
for event in events: for event in events:
event.unlink(put) event.unlink(put)
_NONE = object()
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