Skip to content

Fix invalid escape sequence SyntaxWarnings in regex patterns#121

Merged
olehermanse merged 1 commit intocfengine:masterfrom
larsewi:fix-syntax-warnings
Apr 22, 2026
Merged

Fix invalid escape sequence SyntaxWarnings in regex patterns#121
olehermanse merged 1 commit intocfengine:masterfrom
larsewi:fix-syntax-warnings

Conversation

@larsewi
Copy link
Copy Markdown
Contributor

@larsewi larsewi commented Apr 22, 2026

Convert regex pattern strings to raw strings in tom/dependencies.py and tom/packages.py to silence SyntaxWarning: invalid escape sequence messages emitted by recent Python versions.

Convert regex pattern strings to raw strings in tom/dependencies.py and
tom/packages.py to silence SyntaxWarnings.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@olehermanse olehermanse merged commit 8088d72 into cfengine:master Apr 22, 2026
6 checks passed
@larsewi larsewi deleted the fix-syntax-warnings branch April 27, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants