Commit 425d96c9 authored by Denis Bilenko's avatar Denis Bilenko

Merge pull request #254 from saghul/fixup

A couple of small fixes removing unneeded variables
parents a847d79d bda54012
......@@ -81,7 +81,6 @@ class Greenlet(greenlet):
self._links = deque()
self.value = None
self._exception = _NONE
loop = hub.loop
self._notifier = None
self._start_event = None
......
......@@ -47,7 +47,6 @@ def select(rlist, wlist, xlist, timeout=None):
Note: *xlist* is ignored.
"""
watchers = []
timeout = Timeout.start_new(timeout)
loop = get_hub().loop
io = loop.io
MAXPRI = loop.MAXPRI
......@@ -72,4 +71,3 @@ def select(rlist, wlist, xlist, timeout=None):
finally:
for watcher in watchers:
watcher.stop()
timeout.cancel()
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