As stated at process/changes.rsy doc, the current minimal Python version is 3.x, so drop support for EOL python 2.x. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> --- tools/perf/tests/shell/lib/attr.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/perf/tests/shell/lib/attr.py b/tools/perf/tests/shell/lib/attr.py index 3db9a7d78715..3ca405f45d10 100644 --- a/tools/perf/tests/shell/lib/attr.py +++ b/tools/perf/tests/shell/lib/attr.py @@ -12,11 +12,7 @@ import logging import re import shutil import subprocess - -try: - import configparser -except ImportError: - import ConfigParser as configparser +import configparser def data_equal(a, b): # Allow multiple values in assignment separated by '|' -- 2.48.1