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

Remove unneeded .close() statements #146

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

pietrodn
Copy link
Contributor

@pietrodn pietrodn commented Feb 5, 2018

This is a follow-up on #30 to correct a small bug introduced in there.
When using context managers and the with statement, it's superfluous to call .close() on the file-like object.

@peterbarker peterbarker merged commit fbf944a into ArduPilot:master Feb 5, 2018
@peterbarker
Copy link
Contributor

Merged, thanks.

@pietrodn pietrodn deleted the double-close branch February 5, 2018 22:38
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.

3 participants