Skip to content
This repository has been archived by the owner. It is now read-only.

Fix source of ResourceWarning exceptions. #7

Merged
merged 1 commit into from May 3, 2012

Conversation

@douglatornell
Copy link
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
Fix source of ResourceWarning exceptions.
@EnigmaCurry EnigmaCurry merged commit abae7e3 into EnigmaCurry:master May 3, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.