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 time
import jinja2.runtime
from ansible.module_utils import six
import ansible.constants as C
import ansible.errors
import ansible.plugins.connection

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

@ -3109,7 +3109,7 @@ class Broker(object):
if sys.version_info < (2, 6):
# import_module() is used to avoid dep scanner.
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):
"""

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

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

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

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

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

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

Loading…
Cancel
Save