mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 09:57:33 -02:30
fix lint errors
This commit is contained in:
committed by
Seth Foster
parent
ff118f2177
commit
236c1df676
@@ -2,7 +2,6 @@
|
|||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
|
|
||||||
from __future__ import absolute_import, unicode_literals
|
from __future__ import absolute_import, unicode_literals
|
||||||
from django.conf import settings
|
|
||||||
from django.urls import include, re_path
|
from django.urls import include, re_path
|
||||||
|
|
||||||
from awx import MODE
|
from awx import MODE
|
||||||
|
|||||||
@@ -19,14 +19,12 @@ from django.conf import settings
|
|||||||
# AWX
|
# AWX
|
||||||
from awx.main.dispatch.reaper import reap_job
|
from awx.main.dispatch.reaper import reap_job
|
||||||
from awx.main.models import (
|
from awx.main.models import (
|
||||||
AdHocCommand,
|
|
||||||
Instance,
|
Instance,
|
||||||
InventorySource,
|
InventorySource,
|
||||||
InventoryUpdate,
|
InventoryUpdate,
|
||||||
Job,
|
Job,
|
||||||
Project,
|
Project,
|
||||||
ProjectUpdate,
|
ProjectUpdate,
|
||||||
SystemJob,
|
|
||||||
UnifiedJob,
|
UnifiedJob,
|
||||||
WorkflowApproval,
|
WorkflowApproval,
|
||||||
WorkflowJob,
|
WorkflowJob,
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ def workflow_manager():
|
|||||||
|
|
||||||
def run_task_manager():
|
def run_task_manager():
|
||||||
if MODE == 'development' and settings.AWX_DISABLE_TASK_MANAGERS:
|
if MODE == 'development' and settings.AWX_DISABLE_TASK_MANAGERS:
|
||||||
logger.debug(f"Not running task managers, AWX_DISABLE_TASK_MANAGERS is True. Trigger with GET to /api/debug/{prefix}_manager/")
|
logger.debug("Not running task managers, AWX_DISABLE_TASK_MANAGERS is True. Trigger with GET to /api/debug/{prefix}_manager/")
|
||||||
return
|
return
|
||||||
task_manager()
|
task_manager()
|
||||||
dependency_manager()
|
dependency_manager()
|
||||||
|
|||||||
Reference in New Issue
Block a user