red-hat-storage / rhcephcompose

A tool to compose releases of Red Hat Ceph Storage for Ubuntu
MIT License
1 stars 1 forks source link

implicitly close build list file handles #83

Closed ktdreyer closed 6 years ago

ktdreyer commented 6 years ago

CPython closes this immediately, but there's nothing in the Python language definition that says that the filehandle must be closed/garbage-collected. Might as well close it here using the "with" statement.