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

Fix invalid escape sequence by using double backslashes #95

Closed
wants to merge 1 commit into from

Conversation

Strykar
Copy link

@Strykar Strykar commented May 27, 2024

==> Starting package()...
/usr/lib/python3.12/site-packages/routeros_api/sentence.py:9: SyntaxWarning: invalid escape sequence '\.' 
/usr/lib/python3.12/site-packages/routeros_api/sentence.py:9: SyntaxWarning: invalid escape sequence '\.'

==> Starting package()...
/usr/lib/python3.12/site-packages/routeros_api/sentence.py:9: SyntaxWarning: invalid escape sequence '\.'
/usr/lib/python3.12/site-packages/routeros_api/sentence.py:9: SyntaxWarning: invalid escape sequence '\.'
@Strykar
Copy link
Author

Strykar commented May 28, 2024

Added RouterOS-api package to Arch Linux AUR: https://aur.archlinux.org/packages/python-routeros-api
Thanks for this, works a treat!

@jgoclawski
Copy link
Member

@Strykar Thank you for noticing that warning. I've fixed it using a different approach in bd2aaa7 and also added automated testing and linting. Hopefully this will prevent such warnings in the future :) Thanks again.

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

Successfully merging this pull request may close these issues.

2 participants