mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +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:
parent
1417e81605
commit
b0db2067a2
@ -30,6 +30,7 @@ import xml.dom.minidom
|
||||
import copy
|
||||
from collections import namedtuple, defaultdict
|
||||
from pipes import quote
|
||||
from past.builtins import long
|
||||
from past.types import basestring
|
||||
from numbers import Number
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user