diff --git a/convert2rhel/actions/post_conversion/hostmetering.py b/convert2rhel/actions/post_conversion/hostmetering.py index c9ecad5d69..7a77b49f30 100644 --- a/convert2rhel/actions/post_conversion/hostmetering.py +++ b/convert2rhel/actions/post_conversion/hostmetering.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, systeminfo from convert2rhel.logger import root_logger from convert2rhel.pkgmanager import call_yum_cmd diff --git a/convert2rhel/actions/pre_ponr_changes/kernel_modules.py b/convert2rhel/actions/pre_ponr_changes/kernel_modules.py index 24e0532b5f..640bbbfdd6 100644 --- a/convert2rhel/actions/pre_ponr_changes/kernel_modules.py +++ b/convert2rhel/actions/pre_ponr_changes/kernel_modules.py @@ -16,7 +16,6 @@ __metaclass__ = type import itertools -import os import re from functools import cmp_to_key diff --git a/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py b/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py index 8d4a1e63e0..e092a63fd9 100644 --- a/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py +++ b/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, repo from convert2rhel.logger import root_logger from convert2rhel.pkghandler import compare_package_versions diff --git a/convert2rhel/actions/system_checks/package_updates.py b/convert2rhel/actions/system_checks/package_updates.py index c1040f86e2..67bcda3d5a 100644 --- a/convert2rhel/actions/system_checks/package_updates.py +++ b/convert2rhel/actions/system_checks/package_updates.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, pkgmanager, utils from convert2rhel.logger import root_logger from convert2rhel.pkghandler import get_total_packages_to_update diff --git a/convert2rhel/actions/system_checks/tainted_kmods.py b/convert2rhel/actions/system_checks/tainted_kmods.py index 33ce771f45..21147ac5e7 100644 --- a/convert2rhel/actions/system_checks/tainted_kmods.py +++ b/convert2rhel/actions/system_checks/tainted_kmods.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions from convert2rhel.logger import root_logger from convert2rhel.utils import run_subprocess, warn_deprecated_env diff --git a/convert2rhel/toolopts/__init__.py b/convert2rhel/toolopts/__init__.py index a3633b0237..deb7e83665 100644 --- a/convert2rhel/toolopts/__init__.py +++ b/convert2rhel/toolopts/__init__.py @@ -17,7 +17,6 @@ __metaclass__ = type import logging -import os from convert2rhel.utils.subscription import setup_rhsm_parts