Skip to content

Commit

Permalink
make coroutine stuff work again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Matthew committed Apr 21, 2013
1 parent 71c8d7b commit 53bdc5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/rb/Coroutine.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def _resume (self):
self._executing = True
try:
try:
self._continuation.next ()
next(self._continuation)
while self._data:
self._continuation.next ()
next(self._continuation)
except StopIteration:
pass
finally:
Expand Down

0 comments on commit 53bdc5d

Please sign in to comment.