Fix up another handful of LGTM errors.

pull/618/head
David Wilson 5 years ago
parent 4b9b1ca24d
commit 3b63da670f

@ -32,6 +32,15 @@ Stable names for PluginLoader instances across Ansible versions.
from __future__ import absolute_import
__all__ = [
'action_loader',
'connection_loader',
'module_loader',
'module_utils_loader',
'shell_loader',
'strategy_loader',
]
try:
from ansible.plugins.loader import action_loader
from ansible.plugins.loader import connection_loader

@ -32,7 +32,6 @@ import logging
import multiprocessing
import os
import resource
import signal
import socket
import sys

@ -37,7 +37,6 @@ how to build arguments for it, preseed related data, etc.
"""
import atexit
import codecs
import imp
import os
import re

@ -245,7 +245,7 @@ def main(router):
if sys.platform == 'darwin':
kwargs['volname'] = '%s (Mitogen)' % (sys.argv[1],)
f = fuse.FUSE(
fuse.FUSE(
operations=Operations(sys.argv[1]),
mountpoint=sys.argv[2],
foreground=True,

@ -47,7 +47,6 @@ import re
import string
import sys
import threading
import time
import types
import zlib

@ -41,7 +41,6 @@ import getpass
import heapq
import inspect
import logging
import logging
import os
import re
import signal
@ -52,7 +51,6 @@ import sys
import termios
import textwrap
import threading
import time
import zlib
# Absolute imports for <2.5.

@ -37,7 +37,6 @@ import pwd
import stat
import sys
import threading
import time
import mitogen.core
import mitogen.select

Loading…
Cancel
Save