diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2024-02-21 20:37:04 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-03-01 05:19:54 -1000 |
commit | 95b1e23223d64b449eec3bdb35fba23e00e117b9 (patch) | |
tree | 230d673b12a9c4fc1cd94d2a4da86385fdfe9de5 /scripts/opkg-query-helper.py | |
parent | b8c9a27f06599b05b95720b1667f84e3c0c2836d (diff) | |
download | poky-95b1e23223d64b449eec3bdb35fba23e00e117b9.tar.gz |
meta/recipes: 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: d4e11eebdfe50acc124a87341721a12bc1c15024)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cherry-picked from master: f2d80817baea298b953d6e14daad65087b3b50c9
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/opkg-query-helper.py')
0 files changed, 0 insertions, 0 deletions