**Files:** - `app/indexer/caching.py` (lines 18-24) - `app/orchard/mk_urls_file.py` (lines 19-35) ## Description Files are opened with `open()` or `codecs.open()` and manually closed with `.close()`. If an exception occurs between open and close, the file handle leaks.
Files:
app/indexer/caching.py(lines 18-24)app/orchard/mk_urls_file.py(lines 19-35)Description
Files are opened with
open()orcodecs.open()and manually closed with.close(). If an exception occurs between open and close, the file handle leaks.