From 03568b7b942e29423b1792a677f426cdf3ebcb8d Mon Sep 17 00:00:00 2001 From: Kowshik Jois B S Date: Thu, 31 Oct 2024 21:10:00 +0530 Subject: [PATCH] Fixing static check failures! Signed-off-by: Kowshik Jois B S --- virttest/asset.py | 9 +++------ virttest/utils_config.py | 5 ++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/virttest/asset.py b/virttest/asset.py index 8610df1584..9f00ba3cde 100644 --- a/virttest/asset.py +++ b/virttest/asset.py @@ -5,14 +5,11 @@ import re import shutil -from avocado.utils import astring, crypto, download, genio, git, process - -from virttest import data_dir - -from six import string_types +from six import StringIO, string_types from six.moves import urllib -from six import StringIO +from avocado.utils import astring, crypto, download, genio, git, process +from virttest import data_dir LOG = logging.getLogger("avocado." + __name__) diff --git a/virttest/utils_config.py b/virttest/utils_config.py index 662f14f1de..a476c13da4 100644 --- a/virttest/utils_config.py +++ b/virttest/utils_config.py @@ -1,13 +1,12 @@ import ast import configparser - -from avocado.utils import distro - import logging import os.path from six import StringIO +from avocado.utils import distro + LOG = logging.getLogger("avocado." + __name__)