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 W0631 #868

Merged
merged 2 commits into from Jan 16, 2020
Merged

Fix W0631 #868

merged 2 commits into from Jan 16, 2020

Conversation

drawlerr
Copy link
Contributor

It would appear that a refactoring operation resulted in some methods referencing variables from their calling function that were not passed as arguments. Python allows this, but for sanity's sake it's best if function arguments are a bit more explicit.

Relates #838.

@drawlerr drawlerr added the bug Something's wrong label Jan 14, 2020
@drawlerr drawlerr added this to the 1.5.0 milestone Jan 14, 2020
@hub-cap
Copy link
Contributor

hub-cap commented Jan 14, 2020

Dear github, why dont you let me approve this pull request? What did I do to u? Something I have done is not allowing me to LGTM this in a review, so LGTM in a comment.

@danielmitterdorfer danielmitterdorfer modified the milestones: 1.5.0, 1.4.1 Jan 15, 2020
Copy link
Member

@danielmitterdorfer danielmitterdorfer left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! LGTM

@drawlerr drawlerr merged commit 235ab99 into elastic:master Jan 16, 2020
@drawlerr drawlerr deleted the w0631 branch January 16, 2020 15:00
@danielmitterdorfer danielmitterdorfer added the :misc Changes that don't affect users directly: linter fixes, test improvements, etc. label Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :misc Changes that don't affect users directly: linter fixes, test improvements, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants