dadadel/pyment — pull request #6 by eventh (2014-04-05 17:41:44+00:00)
Title: Use with-statement to avoid leaking file-descriptors.

Open files in context managers so that file-descriptors are automatically closed if any exceptions should occur.

I also removed some extraneous white-space etc.