[rhythmbox/wip/python3] make coroutine stuff work again
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/python3] make coroutine stuff work again
- Date: Tue, 16 Apr 2013 12:51:26 +0000 (UTC)
commit 377fae297e78ab5ef9aa533216bc7f9863f08bbd
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Apr 16 22:34:57 2013 +1000
make coroutine stuff work again
plugins/rb/Coroutine.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/rb/Coroutine.py b/plugins/rb/Coroutine.py
index b45eacf..81d0c33 100644
--- a/plugins/rb/Coroutine.py
+++ b/plugins/rb/Coroutine.py
@@ -43,9 +43,9 @@ class Coroutine:
self._executing = True
try:
try:
- self._continuation.next ()
+ next(self._continuation)
while self._data:
- self._continuation.next ()
+ next(self._continuation)
except StopIteration:
pass
finally:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]