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

Redo variable and function names reserved for Python #174

Closed
wants to merge 1 commit into from

Conversation

vagishagupta23
Copy link
Contributor

@vagishagupta23 vagishagupta23 commented Jun 29, 2019

Changed the conflicting variable name filter and function name
filter() accordingly which suricata-update uses as it is reserved
for use in Python standard modules.

Make sure these boxes are signed before submitting your Pull Request
-- thank you.

Link to redmine ticket: https://redmine.openinfosecfoundation.org/issues/3012

Describe changes:

  • Changed variable and function names filter in main.py
  • Changed variable and function names filter in test_main.py

Changed the conflicting variable name `filter` and function name
`filter()` accordingly which suricata-update uses as it is reserved
for use in Python standard modules.
Copy link

@shivan1b shivan1b left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks! :)

Copy link
Member

@jasonish jasonish left a comment

Choose a reason for hiding this comment

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

OK.

@jasonish
Copy link
Member

jasonish commented Sep 4, 2019

Merged. Thanks!

@jasonish jasonish closed this Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants