Commit 303e79a4 authored by Denis Bilenko's avatar Denis Bilenko

make the code compatible with python2.4

parent 9bb9f16c
......@@ -91,6 +91,7 @@ class GreenletSet(object):
def kill(self, exception=GreenletExit, block=True, timeout=None):
timer = Timeout.start_new(timeout)
try:
try:
while self.greenlets:
for greenlet in list(self.greenlets):
......
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