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 5 years ago

ktdreyer commented 5 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.