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 source of ResourceWarning exceptions. #7

Merged
merged 1 commit into from May 3, 2012

Conversation

Projects
None yet
2 participants
@douglatornell
Collaborator

douglatornell commented May 3, 2012

A ResourceWarning exception show up when running blogofile build under Python 3.2 with PYTHONWARNINGS=default. This fixes it by putting the offending open statement in a with statement context manager.

EnigmaCurry added a commit that referenced this pull request May 3, 2012

Merge pull request #7 from douglatornell/fix-warnings
Fix source of ResourceWarning exceptions.

@EnigmaCurry EnigmaCurry merged commit abae7e3 into EnigmaCurry:master May 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment