mirror of
https://github.com/ansible/awx.git
synced 2026-07-07 22:38:04 -02:30
Fix flake8 E302 errors.
This commit is contained in:
@@ -21,18 +21,22 @@ logger = logging.getLogger('awx.main.scheduler')
|
||||
# Would we need the request loop then? I think so. Even if we get the in-memory
|
||||
# updated model, the call to schedule() may get stale data.
|
||||
|
||||
|
||||
@task
|
||||
def run_job_launch(job_id):
|
||||
TaskManager().schedule()
|
||||
|
||||
|
||||
@task
|
||||
def run_job_complete(job_id):
|
||||
TaskManager().schedule()
|
||||
|
||||
|
||||
@task
|
||||
def run_task_manager():
|
||||
TaskManager().schedule()
|
||||
|
||||
|
||||
@task
|
||||
def run_fail_inconsistent_running_jobs():
|
||||
with transaction.atomic():
|
||||
|
||||
Reference in New Issue
Block a user