diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 11:53:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:10:02 +0100 |
commit | caebd862bac7eed725e0f0321bf50793671b5312 (patch) | |
tree | 2da96b5da7b9b0e0ef04c03cf74f14ddfd180f30 /meta/lib/oeqa/utils | |
parent | 2476bdcbef591e951d11d57d53f1315848758571 (diff) | |
download | openembedded-core-caebd862bac7eed725e0f0321bf50793671b5312.tar.gz openembedded-core-caebd862bac7eed725e0f0321bf50793671b5312.tar.bz2 openembedded-core-caebd862bac7eed725e0f0321bf50793671b5312.zip |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |