fix lint errors

This commit is contained in:
Elijah DeLee 2022-07-07 15:34:23 -04:00 committed by Seth Foster
parent ff118f2177
commit 236c1df676
No known key found for this signature in database
GPG Key ID: 86E90D96F7184028
3 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,6 @@
# All Rights Reserved.
from __future__ import absolute_import, unicode_literals
from django.conf import settings
from django.urls import include, re_path
from awx import MODE

View File

@ -19,14 +19,12 @@ from django.conf import settings
# AWX
from awx.main.dispatch.reaper import reap_job
from awx.main.models import (
AdHocCommand,
Instance,
InventorySource,
InventoryUpdate,
Job,
Project,
ProjectUpdate,
SystemJob,
UnifiedJob,
WorkflowApproval,
WorkflowJob,

View File

@ -43,7 +43,7 @@ def workflow_manager():
def run_task_manager():
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
task_manager()
dependency_manager()