remove unused imports flagged by lgtm

pull/612/head
David Wilson 5 years ago
parent c80fddd487
commit 75d179e4b9

@ -37,8 +37,6 @@ import stat
import sys import sys
import time import time
import jinja2.runtime
from ansible.module_utils import six
import ansible.constants as C import ansible.constants as C
import ansible.errors import ansible.errors
import ansible.plugins.connection import ansible.plugins.connection

@ -28,7 +28,6 @@
from __future__ import absolute_import from __future__ import absolute_import
import atexit import atexit
import errno
import logging import logging
import multiprocessing import multiprocessing
import os import os
@ -36,7 +35,6 @@ import resource
import signal import signal
import socket import socket
import sys import sys
import time
try: try:
import faulthandler import faulthandler

@ -3109,7 +3109,7 @@ class Broker(object):
if sys.version_info < (2, 6): if sys.version_info < (2, 6):
# import_module() is used to avoid dep scanner. # import_module() is used to avoid dep scanner.
os_fork = import_module('mitogen.os_fork') os_fork = import_module('mitogen.os_fork')
mitogen.os_fork._notice_broker_or_pool(self) os_fork._notice_broker_or_pool(self)
def start_receive(self, stream): def start_receive(self, stream):
""" """

@ -33,7 +33,6 @@ import re
import mitogen.core import mitogen.core
import mitogen.parent import mitogen.parent
from mitogen.core import b
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

@ -57,15 +57,12 @@ Example:
from __future__ import print_function from __future__ import print_function
import os import os
import pstats import pstats
import cProfile
import shutil import shutil
import subprocess import subprocess
import sys import sys
import tempfile import tempfile
import time import time
import mitogen.core
def try_merge(stats, path): def try_merge(stats, path):
try: try:

@ -42,7 +42,6 @@ except ImportError:
import mitogen.parent import mitogen.parent
from mitogen.core import b from mitogen.core import b
from mitogen.core import bytes_partition
try: try:
any any

@ -33,7 +33,6 @@ import re
import mitogen.core import mitogen.core
import mitogen.parent import mitogen.parent
from mitogen.core import b
try: try:
any any

@ -35,7 +35,6 @@ import re
import mitogen.core import mitogen.core
import mitogen.parent import mitogen.parent
from mitogen.core import b
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

@ -3,7 +3,6 @@
# Generate the fragment used to make email release announcements # Generate the fragment used to make email release announcements
# usage: release-notes.py 0.2.6 # usage: release-notes.py 0.2.6
import os
import sys import sys
import urllib import urllib
import lxml.html import lxml.html

Loading…
Cancel
Save