diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2024-01-22 20:01:04 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-23 02:21:30 +0200 |
commit | 81791d2cac70a3f549db85fb2e40e385b24e76fc (patch) | |
tree | ba693cc4cf72f1afeaba54709b08decf2fabcc64 /utils/ipc/tools/diagnosis | |
parent | e6832973749c993bcd4a9c5837f2caf5d164cad2 (diff) |
utils: ipc: extract-docs: Fix escape characters in regex
Newer versions of python now generate a SyntaxWarning (SyntaxError in
the future [1]) for invalid escape sequences. Fix this, as there were
invalid escape sequences in the regexes:
"libcamera/utils/ipc/./extract-docs.py:13: SyntaxWarning: invalid escape
sequence '\/'"
[1] https://docs.python.org/3.12/library/re.html
Reported-by: Nicolas Dufresne <nicolas@ndufresne.ca>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/ipc/tools/diagnosis')
0 files changed, 0 insertions, 0 deletions