mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
classes/lib: Update to explictly create lists where needed
Iterators now return views, not lists in python3. Where we need lists, handle this explicitly. (From OE-Core rev: caebd862bac7eed725e0f0321bf50793671b5312) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -22,7 +22,7 @@ import logging
|
||||
logger = logging.getLogger("BitBake.QemuRunner")
|
||||
|
||||
# Get Unicode non printable control chars
|
||||
control_range = range(0,32)+range(127,160)
|
||||
control_range = list(range(0,32))+list(range(127,160))
|
||||
control_chars = [unichr(x) for x in control_range
|
||||
if unichr(x) not in string.printable]
|
||||
re_control_char = re.compile('[%s]' % re.escape("".join(control_chars)))
|
||||
|
||||
Reference in New Issue
Block a user