On Jul 25, 2014 8:26 AM, "Christoph Brill" <egore911 gmail com> 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 timeLooks good to me (format comments as with your other email).
Cheers,
Kai
Attachment:
Drop-unused-RoundRobinScheduler.patch
Description: Text Data