From caebd862bac7eed725e0f0321bf50793671b5312 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 May 2016 11:53:11 +0100 Subject: classes/lib: Update to explictly create lists where needed Iterators now return views, not lists in python3. Where we need lists, handle this explicitly. Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oeqa/utils') diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index f51de99458..c1d07d9b41 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -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))) -- cgit v1.2.3