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__)