mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
classes/lib: Update xrange -> range for python3
xrange() no longer exists in python 3, use range() (From OE-Core rev: d022b4335100612d6596cc4c4956cb98ed5873cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -187,7 +187,7 @@ def sysroot_checkhashes(covered, tasknames, fnids, fns, d, invalidtasks = None):
|
||||
problems = set()
|
||||
configurefnids = set()
|
||||
if not invalidtasks:
|
||||
invalidtasks = xrange(len(tasknames))
|
||||
invalidtasks = range(len(tasknames))
|
||||
for task in invalidtasks:
|
||||
if tasknames[task] == "do_configure" and task not in covered:
|
||||
configurefnids.add(fnids[task])
|
||||
|
||||
Reference in New Issue
Block a user