diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2024-02-21 20:37:03 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-03-01 05:19:54 -1000 |
commit | b8c9a27f06599b05b95720b1667f84e3c0c2836d (patch) | |
tree | 1ca224acf1a43741387e609a24cb316e15f3d3c7 /scripts/lib/checklayer/case.py | |
parent | 423bb12dcfb8dce3dc1ae345d34469d01809c750 (diff) | |
download | poky-b8c9a27f06599b05b95720b1667f84e3c0c2836d.tar.gz |
meta/lib/oeqa: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.
(From OE-Core rev: 939046c5e9ddd71b941c9e389fa4a4687bfcdec0)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cherry-picked from master: 9002850f0c2e409d3bc629e36bb360b96326bb64
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/checklayer/case.py')
0 files changed, 0 insertions, 0 deletions