saltstack/salt — pull request #2543 by archtaku (2012-11-13 05:02:20+00:00)
Title: Fix open filehandles

I did a sweep through the codebase and fixed all filehandles left open
by errant open(somefile,'r').readlines() and
open(somefile,'w').writelines(). I don't have the ability to test all of
these so I strongly recommend a careful audit of these changes before
merging.