flake8 fixes

This commit is contained in:
Chris Meyers
2016-09-29 10:23:00 -04:00
parent bdd444fb44
commit fbc1dff4de
4 changed files with 6 additions and 10 deletions

View File

@@ -4,7 +4,6 @@
# Python # Python
import datetime import datetime
import logging import logging
import struct, fcntl, os
# Django # Django
from django.conf import settings from django.conf import settings

View File

@@ -1,11 +1,11 @@
from awx.main.models import ( from awx.main.models import (
Job, Job,
AdHocCommand, AdHocCommand,
InventoryUpdate, InventoryUpdate,
ProjectUpdate, ProjectUpdate,
WorkflowJob, WorkflowJob,
SystemJob, SystemJob,
) )
class SimpleDAG(object): class SimpleDAG(object):

View File

@@ -52,7 +52,6 @@ from awx.main.task_engine import TaskSerializer, TASK_TIMEOUT_INTERVAL
from awx.main.utils import (get_ansible_version, get_ssh_version, decrypt_field, update_scm_url, from awx.main.utils import (get_ansible_version, get_ssh_version, decrypt_field, update_scm_url,
emit_websocket_notification, emit_websocket_notification,
check_proot_installed, build_proot_temp_dir, wrap_args_with_proot) check_proot_installed, build_proot_temp_dir, wrap_args_with_proot)
from awx.main.scheduler.dag_workflow import WorkflowDAG
__all__ = ['RunJob', 'RunSystemJob', 'RunProjectUpdate', 'RunInventoryUpdate', __all__ = ['RunJob', 'RunSystemJob', 'RunProjectUpdate', 'RunInventoryUpdate',
'RunAdHocCommand', 'RunWorkflowJob', 'handle_work_error', 'RunAdHocCommand', 'RunWorkflowJob', 'handle_work_error',

View File

@@ -12,7 +12,6 @@ import sys
import tempfile import tempfile
import time import time
import urllib import urllib
from multiprocessing import Process
import re import re
import mock import mock
@@ -30,7 +29,6 @@ from django.utils.encoding import force_text
# AWX # AWX
from awx.main.models import * # noqa from awx.main.models import * # noqa
from awx.main.management.commands.run_callback_receiver import CallbackReceiver
from awx.main.utils import get_ansible_version from awx.main.utils import get_ansible_version
from awx.main.task_engine import TaskEngager as LicenseWriter from awx.main.task_engine import TaskEngager as LicenseWriter
from awx.sso.backends import LDAPSettings from awx.sso.backends import LDAPSettings