1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

utils/types: Ignore import errors

This commit is contained in:
Marc Bonnici 2018-07-02 16:23:55 +01:00
parent 1a08b2a6c7
commit cbc7b2647f

View File

@ -32,11 +32,12 @@ import shlex
import sys
from bisect import insort
if sys.version_info[0] == 3:
from urllib.parse import quote, unquote
from past.builtins import basestring
from urllib.parse import quote, unquote #pylint: disable=no-name-in-module, import-error
from past.builtins import basestring #pylint: disable=redefined-builtin
long = int
else:
from urllib import quote, unquote
#pylint: disable=wrong-import-position
from collections import defaultdict, MutableMapping
from copy import copy
from functools import total_ordering