diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-01-02 11:52:58 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-02 22:51:01 +0000 |
commit | 3c71605a77809d78be95d2b81b04fcaf232cd9c7 (patch) | |
tree | 3b92adbcc13b7f9e8546817a9a0c35766e452c05 /meta | |
parent | bd05979aa8333d5bb2a5f058d2274af1873412a1 (diff) | |
download | poky-3c71605a77809d78be95d2b81b04fcaf232cd9c7.tar.gz |
scripts/runqemu: fix regex escape sequences
When invoking runqemu with Python 3.12, the following warning is
encountered:
|SyntaxWarning: invalid escape sequence '\.'
This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.
(From OE-Core rev: 0e8a4142bb90a92d175df6b2537d24a372356f98)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions