예제 #1
0
def pre_run(task):
    if not ALLOW_TASKS:
        raise CancelExecution()
예제 #2
0
 def pre_execute_cancel(task):
     if not allow_tasks[0]:
         raise CancelExecution()
예제 #3
0
 def cancel_all_tasks(task):
     raise CancelExecution()