示例#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()