aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-10-09 15:14:38 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-10-14 13:59:27 +0100
commita9149fcb9f92204ac57b103fb36c1533b92f4d6d (patch)
tree588640b1e15a15b8ff11b99310706b5550e8ad19
parent7e8103449c35b5a6efaaa706542cb2d9839375d5 (diff)
downloadsos-a9149fcb9f92204ac57b103fb36c1533b92f4d6d.tar.gz
[lgtm] Remove unused imports
Removes several unused imports identified by LGTM. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/archive.py3
-rw-r--r--sos/plugins/networking.py1
-rw-r--r--sos/plugins/scsi.py1
3 files changed, 0 insertions, 5 deletions
diff --git a/sos/archive.py b/sos/archive.py
index 7ab36ce4..debc6828 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -19,9 +19,6 @@ import errno
import stat
from threading import Lock
-# required for compression callout (FIXME: move to policy?)
-from subprocess import Popen
-
from sos.utilities import sos_get_command_output, is_executable
try:
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 5f2f0a05..2f655042 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -9,7 +9,6 @@
from sos.plugins import (Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin,
SoSPredicate)
from os import listdir
-import re
class Networking(Plugin):
diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py
index b65dce4e..18454e21 100644
--- a/sos/plugins/scsi.py
+++ b/sos/plugins/scsi.py
@@ -6,7 +6,6 @@
#
# See the LICENSE file in the source distribution for further information.
-import os
from glob import glob
from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin