From 9d1c22ed6298d6fa303f7e129d937df06e1bac7d Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 11 Apr 2011 18:40:36 +0200 Subject: [TaskView] upon cancelling waiting jobs, remove them from jobmanager queue all the way --- lib/python/Components/Task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/Task.py') diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 3a755405..86769233 100644 --- a/lib/python/Components/Task.py +++ b/lib/python/Components/Task.py @@ -108,7 +108,6 @@ class Job(object): self.tasks[i].abort() def cancel(self): - # some Jobs might have a better idea of how to cancel a job self.abort() class Task(object): @@ -305,6 +304,7 @@ class JobManager: list.append(self.active_job) list += self.active_jobs return list + # some examples: #class PartitionExistsPostcondition: # def __init__(self, device): -- cgit v1.2.3