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

Refactor #5

Merged
merged 2 commits into from
Jun 14, 2016
Merged

Refactor #5

merged 2 commits into from
Jun 14, 2016

Conversation

letroot
Copy link
Contributor

@letroot letroot commented Jun 6, 2016

I rewrote all occurrences of the open(file) -> read() -> file.close() code blocks to use the with..as context manager instead. It helps make the code more idiomatic.

@lmontopo
Copy link
Owner

Yep! Nice change. Thanks!

@lmontopo lmontopo merged commit 6813c5a into lmontopo:master Jun 14, 2016
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