Hi Kai,

find the patch attached.

Best wishes,
 Christoph


2014-07-30 0:10 GMT+02:00 Kai Willadsen <[email protected]>:

>
> On Jul 25, 2014 8:26 AM, "Christoph Brill" <[email protected]> wrote:
> >
> > ---
> >  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
>
> Looks good to me (format comments as with your other email).
>
> Cheers,
> Kai
>
From 3e51b76921ed9345bb6bcba3e0a45694b7099f3a Mon Sep 17 00:00:00 2001
From: Christoph Brill <[email protected]>
Date: Fr, 25 Jul 2014 00:21:03 +0200
Subject: [PATCH] Drop unused RoundRobinScheduler


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
--
Gitg

_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to