use with statement for file operations (where appropriate)
commit1c24b88574dd34539aa8ce96c31bbd1a8b0ac8e3
authorAndré Wobst <wobsta@users.sourceforge.net>
Tue, 16 Jul 2013 21:48:33 +0000 (16 21:48 +0000)
committerAndré Wobst <wobsta@users.sourceforge.net>
Tue, 16 Jul 2013 21:48:33 +0000 (16 21:48 +0000)
tree9177403244207880c2dd487f2746ea1290baaf05
parent9abdcd9ce2a4b2e4c48c8c6bc0acdb02a1a3b35f
use with statement for file operations (where appropriate)

git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx@3456 a4f5e268-e194-4f32-bce1-d30804cbbcc5
18 files changed:
pyx/bitmap.py
pyx/canvas.py
pyx/config.py
pyx/document.py
pyx/dvi/dvifile.py
pyx/dvi/mapfile.py
pyx/dvi/texfont.py
pyx/dvi/tfmfile.py
pyx/dvi/vffile.py
pyx/epsfile.py
pyx/font/t1file.py
pyx/graph/data.py
pyx/pattern.py
pyx/pdfwriter.py
pyx/pswriter.py
pyx/reader.py
pyx/text.py
pyx/writer.py