diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-08-07 17:46:57 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-08-08 08:46:39 +0300 |
| commit | 850076b3a1fb09b70c8a5da1bd14202238e0e321 (patch) | |
| tree | e18bf368059c5fc65938b61cc37716f4c7f0f80c /lib/module.c | |
| parent | d3047146975475aaeaf81804571afdb2d08e6e20 (diff) | |
tools: Fix python string escape warnings for frr-reload.py
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 '\['`
Fixes: 8916953b534f64a7545860ad5b4b36dc2544f33a ("build: fix a few python string escape warnings")
Fixes: https://github.com/FRRouting/frr/issues/16522
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/module.c')
0 files changed, 0 insertions, 0 deletions
