Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

knockpy.py:118: SyntaxWarning: invalid escape sequence '\/' #146

Open
LocutusOfBorg opened this issue Mar 6, 2024 · 0 comments
Open

knockpy.py:118: SyntaxWarning: invalid escape sequence '\/' #146

LocutusOfBorg opened this issue Mar 6, 2024 · 0 comments

Comments

@LocutusOfBorg
Copy link
Contributor

From: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065526

Preparing to unpack .../knockpy_7.0.0-1_all.deb ...
Unpacking knockpy (7.0.0-1) over (6.1.0-1) ...
Setting up knockpy (7.0.0-1) ...
/usr/lib/python3/dist-packages/knock/knockpy.py:118: SyntaxWarning: invalid escape sequence '/'
pattern = "http(s)?://(..%s)" % self.domain
/usr/lib/python3/dist-packages/knock/knockpy.py:121: SyntaxWarning: invalid escape sequence '.'
if match and re.match("^[a-zA-Z0-9-.]
$", match.groups()[1]):
Processing triggers for man-db (2.12.0-3) ...

Hello, can you please check the Python3.12 escape syntax deprecation warnings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant