mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 11:52:36 +01:00
Remove Python 2 support
Python 2 is long dead and devlib does not support it anymore, so cleanup old Python 2-only code.
This commit is contained in:
committed by
Marc Bonnici
parent
28b78a93f1
commit
6fe4bce68d
@@ -41,10 +41,7 @@ from functools import reduce # pylint: disable=redefined-builtin
|
||||
from operator import mul
|
||||
from tempfile import gettempdir, NamedTemporaryFile
|
||||
from time import sleep
|
||||
if sys.version_info[0] == 3:
|
||||
from io import StringIO
|
||||
else:
|
||||
from io import BytesIO as StringIO
|
||||
from io import StringIO
|
||||
# pylint: disable=wrong-import-position,unused-import
|
||||
from itertools import chain, cycle
|
||||
from distutils.spawn import find_executable # pylint: disable=no-name-in-module, import-error
|
||||
|
Reference in New Issue
Block a user