Commit f9e7bc14 authored by Jim Fulton's avatar Jim Fulton

Close input file nefore renaming or removing it.

parent cde0f528
......@@ -210,6 +210,7 @@ class ClientCache(object):
try:
self._initfile(fsize)
except:
self.f.close()
if not path:
raise # unrecoverable temp file error :(
badpath = path+'.bad'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment