[rhythmbox] make coroutine stuff work again



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]