projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2845bab
)
tests/docker: avoid invalid escape in Python string
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 16 Oct 2023 06:22:56 +0000
(08:22 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 17 Oct 2023 13:20:53 +0000
(15:20 +0200)
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
patch
|
blob
|
history
diff --git
a/tests/docker/docker.py
b/tests/docker/docker.py
index 688ef62989c6817dd39a79f44f44a094c6c05e58..3b8a26704df1987dac947219a3cea47a6121f0b9 100755
(executable)
--- 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" %