mbox series

[v2,0/1] tools, xen/scripts: clear out Python syntax warnings

Message ID 20241216231128.211648-1-Ariel.Otilibili-Anieli@eurecom.fr (mailing list archive)
Headers show
Series tools, xen/scripts: clear out Python syntax warnings | expand

Message

Ariel Otilibili-Anieli Dec. 16, 2024, 11:07 p.m. UTC
Hello,

The series clears out Python syntax warnings. In all occurrences of the re methods,

```
$ git grep -Pn '[^\w_]re\.[a-z]+' | wc -l 
69
```

Where it was needed, the strings have been quoted as raw.

Thank you,
--
v2:
* tools/misc/xensymoops got removed (2e955d2554, "tools/misc: Drop xensymoops")
* refined regexes (https://lore.kernel.org/all/49497f8c-a2e4-49a1-aac0-96d704834f0f@citrix.com/)

Ariel Otilibili (1):
  tools, xen/scripts: clear out Python syntax warnings

 tools/pygrub/src/GrubConf.py                  | 4 ++--
 tools/pygrub/src/pygrub                       | 6 +++---
 xen/scripts/xen_analysis/cppcheck_analysis.py | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)