diff --git a/awx/main/management/commands/run_callback_receiver.py b/awx/main/management/commands/run_callback_receiver.py index e883a1963c..38fa01ad00 100644 --- a/awx/main/management/commands/run_callback_receiver.py +++ b/awx/main/management/commands/run_callback_receiver.py @@ -15,9 +15,8 @@ from django.conf import settings from django.core.management.base import NoArgsCommand from django.db import transaction, DatabaseError from django.utils.dateparse import parse_datetime -from django.utils.timezone import now from django.utils.tzinfo import FixedOffset -from django.db import connection +from django.db import connection # AWX from awx.main.models import * # noqa @@ -28,7 +27,6 @@ logger = logging.getLogger('awx.main.commands.run_callback_receiver') MAX_REQUESTS = 10000 WORKERS = 4 - class CallbackReceiver(object): def __init__(self): self.parent_mappings = {} diff --git a/awx/main/management/commands/run_socketio_service.py b/awx/main/management/commands/run_socketio_service.py index a49a7a9e3a..d50f3aee2b 100644 --- a/awx/main/management/commands/run_socketio_service.py +++ b/awx/main/management/commands/run_socketio_service.py @@ -11,7 +11,6 @@ from threading import Thread # Django from django.conf import settings from django.core.management.base import NoArgsCommand -from django.utils.timezone import now # AWX import awx diff --git a/awx/main/management/commands/run_task_system.py b/awx/main/management/commands/run_task_system.py index 31acbb6af4..d7918e58f5 100644 --- a/awx/main/management/commands/run_task_system.py +++ b/awx/main/management/commands/run_task_system.py @@ -11,7 +11,6 @@ import time # Django from django.conf import settings from django.core.management.base import NoArgsCommand -from django.utils.timezone import now # AWX from awx.main.models import * # noqa