[meld] Drop unused RoundRobinScheduler
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Drop unused RoundRobinScheduler
- Date: Thu, 7 Aug 2014 20:48:38 +0000 (UTC)
commit 8996768c0a38f587150f32d7cd4c59290df0e5c2
Author: Christoph Brill <egore911 gmail com>
Date: Fri Jul 25 00:21:03 2014 +0200
Drop unused RoundRobinScheduler
meld/task.py | 10 ----------
1 files changed, 0 insertions(+), 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]