[PATCH] Drop unused RoundRobinScheduler



---
 meld/task.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meld/task.py b/meld/task.py
index 75212ae..99e58d7 100644
--- a/meld/task.py
+++ b/meld/task.py
@@ -141,16 +141,6 @@ class FifoScheduler(SchedulerBase):
             raise StopIteration
 
 
-class RoundRobinScheduler(SchedulerBase):
-    """Scheduler repeatedly calling tasks in turn"""
-
-    def get_current_task(self):
-        try:
-            self.tasks.append(self.tasks.pop(0))
-            return self.tasks[0]
-        except IndexError:
-            raise StopIteration
-
 
 if __name__ == "__main__":
     import time
-- 
2.0.2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]