]> git.puffer.fish Git - matthieu/frr.git/commit
build: fix a few python string escape warnings
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 23 Jul 2024 17:21:42 +0000 (10:21 -0700)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 23 Jul 2024 17:23:50 +0000 (10:23 -0700)
commit8916953b534f64a7545860ad5b4b36dc2544f33a
tree98fa71269f150691adbc58aee6d843e608029c64
parent04b818dd4ca1b490da500aff5f40f07ff8e20396
build: fix a few python string escape warnings

When using a regex (or anything that uses `\?` escapes) in python, raw
strings (`r"content"`) should be used so python doesn't consume the
escapes itself.  Otherwise we get either broken behavior and/or
`SyntaxWarning: invalid escape sequence '\['`

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
doc/developer/conf.py
doc/manpages/conf.py
doc/user/conf.py
python/firstheader.py
python/makefile.py