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 warnings in Log Analyzer #18

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

emmanuel-ferdman
Copy link
Contributor

PR Summary

Resolves warnings in Log Analyzer. Fixed #17

Commit Summary:

  • Fixed invalid escape sequences in regex patterns by converting them to raw strings (r"..."). This solves SyntaxWarning warnings.
  • Replaced the deprecated locale.getdefaultlocale() with locale.getlocale() in the log initialization. This solves DeprecationWarning warnings.

Copy link
Collaborator

@ben-c8y ben-c8y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Thanks for contributing :)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@ben-c8y ben-c8y merged commit 05caa2d into ApamaCommunity:master Jan 27, 2025
3 checks passed
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.

Warnings with Python 3.12.3
2 participants