|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/1] xen/scripts: Fix regex syntax warnings with Python 3.12
On Friday, December 20, 2024 09:49 CET, Luca Fancellu <Luca.Fancellu@xxxxxxx>
wrote:
> Hi Ariel,
>
> > On 19 Dec 2024, at 18:10, Ariel Otilibili
> > <Ariel.Otilibili-Anieli@xxxxxxxxxx> wrote:
> >
> > Same fix than commit 826a9eb072 (tools: Fix regex syntax warnings with
> > Python 3.12).
> >
> > It clears out the warning:
> >
> > ```
> > $ xen/scripts/xen-analysis.py
> > xen/scripts/xen_analysis/cppcheck_analysis.py:94: SyntaxWarning: invalid
> > escape sequence '\*'
> > comment_line_starts = re.match('^[ \t]*/\*.*$', line)
> > ```
> >
> > The warning appears only the first time the command is run, then it
> > disappears.
> >
> > Fixes: 02b26c02c7 (xen/scripts: add cppcheck tool to the xen-analysis.py
> > script)
> > Signed-off-by: Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
> > --
>
> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Hi Luca; thanks for the feedback.
>
>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |