From a9149fcb9f92204ac57b103fb36c1533b92f4d6d Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Wed, 9 Oct 2019 15:14:38 -0400 Subject: [lgtm] Remove unused imports Removes several unused imports identified by LGTM. Signed-off-by: Jake Hunsaker --- sos/archive.py | 3 --- sos/plugins/networking.py | 1 - sos/plugins/scsi.py | 1 - 3 files changed, 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 -- cgit