From bef52fe8bbd45fe6ec17920dc663be69da52b21b Mon Sep 17 00:00:00 2001 From: Kowshik Jois B S Date: Mon, 28 Oct 2024 17:16:05 +0530 Subject: [PATCH] per comments, removed all py2 referrences Signed-off-by: Kowshik Jois B S --- virttest/utils_test/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virttest/utils_test/__init__.py b/virttest/utils_test/__init__.py index 2574f61c3e..72c7c60d74 100755 --- a/virttest/utils_test/__init__.py +++ b/virttest/utils_test/__init__.py @@ -1601,9 +1601,9 @@ def config_control(control_path, job_args=None): except Exception: # Leak global_config.ini, generate a mini configuration # to ensure client tests can work. - import ConfigParser + import configParser - config = ConfigParser.ConfigParser() + config = configParser.ConfigParser() for section in ["CLIENT", "COMMON"]: config.add_section(section) config.set("COMMON", "crash_handling_enabled", "True")