1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 05:30:44 +00:00

target: Fix missing import for Python3

The `long` type is no longer present in Python3 so import it from
`past.builtins` for compatibility.
This commit is contained in:
Marc Bonnici 2019-02-14 09:34:18 +00:00 committed by setrofim
parent 1417e81605
commit b0db2067a2

View File

@ -30,6 +30,7 @@ import xml.dom.minidom
import copy import copy
from collections import namedtuple, defaultdict from collections import namedtuple, defaultdict
from pipes import quote from pipes import quote
from past.builtins import long
from past.types import basestring from past.types import basestring
from numbers import Number from numbers import Number
try: try: