mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
utils/types: Ignore import errors
This commit is contained in:
parent
1a08b2a6c7
commit
cbc7b2647f
@ -32,11 +32,12 @@ import shlex
|
|||||||
import sys
|
import sys
|
||||||
from bisect import insort
|
from bisect import insort
|
||||||
if sys.version_info[0] == 3:
|
if sys.version_info[0] == 3:
|
||||||
from urllib.parse import quote, unquote
|
from urllib.parse import quote, unquote #pylint: disable=no-name-in-module, import-error
|
||||||
from past.builtins import basestring
|
from past.builtins import basestring #pylint: disable=redefined-builtin
|
||||||
long = int
|
long = int
|
||||||
else:
|
else:
|
||||||
from urllib import quote, unquote
|
from urllib import quote, unquote
|
||||||
|
#pylint: disable=wrong-import-position
|
||||||
from collections import defaultdict, MutableMapping
|
from collections import defaultdict, MutableMapping
|
||||||
from copy import copy
|
from copy import copy
|
||||||
from functools import total_ordering
|
from functools import total_ordering
|
||||||
|
Loading…
x
Reference in New Issue
Block a user