Lines Matching refs:tasks
151 tasks = tasks_cache.get(self.hostname, None)
152 if not tasks:
153 tasks = models.SpecialTask.objects.filter(
157 tasks_cache[self.hostname] = tasks
158 for task in tasks:
228 tasks = []
230 tasks += [task for task in job.get_all_tasks()
232 if not tasks:
235 task_min = tasks[0]
236 task_max = tasks[0]
238 for task in tasks:
244 return (task_min, task_max, total/len(tasks), len(tasks))
250 tasks = []
252 tasks += [task for task in job.get_all_tasks()
254 if not tasks:
257 task_min = tasks[0]
258 task_max = tasks[0]
260 for task in tasks:
266 return (task_min, task_max, total/len(tasks), len(tasks))