Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Fix source of ResourceWarning exceptions. - #7

Merged
EnigmaCurry merged 1 commit into
EnigmaCurry:masterfrom
douglatornell:fix-warnings
May 3, 2012
Merged

EnigmaCurry merged 1 commit into
EnigmaCurry:masterfrom
douglatornell:fix-warnings

Conversation

@douglatornell

Copy link
Copy Markdown
Collaborator

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.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants