summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-01-02 11:52:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-02 22:51:01 +0000
commit3c71605a77809d78be95d2b81b04fcaf232cd9c7 (patch)
tree3b92adbcc13b7f9e8546817a9a0c35766e452c05 /meta
parentbd05979aa8333d5bb2a5f058d2274af1873412a1 (diff)
downloadpoky-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