[rhythmbox] make coroutine stuff work again
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] make coroutine stuff work again
- Date: Sun, 21 Apr 2013 08:44:17 +0000 (UTC)
commit 53bdc5d63e109c4df265cd8435e6c26f1122d185
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]