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

Ariel Otilibili posted 1 patch 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241216231128.211648-1-Ariel.Otilibili-Anieli@eurecom.fr
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(-)
[PATCH v2 0/1] tools, xen/scripts: clear out Python syntax warnings
Posted by Ariel Otilibili 1 month, 2 weeks ago
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(-)

-- 
2.47.1