From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-stable@nongnu.org
Subject: Re: [PATCH] tests/docker: avoid invalid escape in Python string
Date: Mon, 16 Oct 2023 12:00:09 +0300 [thread overview]
Message-ID: <2m6d8.vlbgyqc562pl@linaro.org> (raw)
In-Reply-To: <20231016062300.160160-1-pbonzini@redhat.com>
On Mon, 16 Oct 2023 09:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
>This is an error in Python 3.12; fix it by using a raw string literal.
>
>Cc: qemu-stable@nongnu.org
>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>---
> tests/docker/docker.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tests/docker/docker.py b/tests/docker/docker.py
>index 688ef62989c..3b8a26704df 100755
>--- a/tests/docker/docker.py
>+++ b/tests/docker/docker.py
>@@ -186,7 +186,7 @@ def _check_binfmt_misc(executable):
> (binary))
> return None, True
>
>- m = re.search("interpreter (\S+)\n", entry)
>+ m = re.search(r"interpreter (\S+)\n", entry)
> interp = m.group(1)
> if interp and interp != executable:
> print("binfmt_misc for %s does not point to %s, using %s" %
>--
>2.41.0
>
>
Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
next prev parent reply other threads:[~2023-10-16 9:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-16 6:23 [PATCH] tests/docker: avoid invalid escape in Python string Paolo Bonzini
2023-10-16 9:00 ` Manos Pitsidianakis [this message]
2023-10-16 13:42 ` Philippe Mathieu-Daudé
2023-10-19 12:33 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2m6d8.vlbgyqc562pl@linaro.org \
--to=manos.pitsidianakis@linaro.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.