config-tools: remove unused package and add nosec to subprocess

The subprocess module is needed for calling package from python script.
Add #nosec for subprocess module importing.

Tracked-On: #6342
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
Yang,Yu-chu
2021-07-29 13:46:08 -07:00
committed by wenlingz
parent dc77ef9e52
commit c10ac227cc
10 changed files with 9 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
import os
import sys
import subprocess
import subprocess # nosec
import shutil
from collections import defaultdict
import dmar

View File

@@ -7,7 +7,7 @@ import os
import sys
import shutil
import argparse
import subprocess
import subprocess # nosec
import pci_dev
import dmi
import acpi

View File

@@ -4,7 +4,6 @@
#
import parser_lib
import subprocess
MEM_PATH = ['/proc/iomem', '/proc/meminfo']
TTY_PATH = '/sys/class/tty/'

View File

@@ -4,7 +4,7 @@
#
import os
import subprocess
import subprocess # nosec
BIOS_INFO_KEY = ['BIOS Information', 'Vendor:', 'Version:', 'Release Date:', 'BIOS Revision:']