Commit 470a41f5 authored by Jim Fulton's avatar Jim Fulton

Close input file nefore renaming or removing it.

parent ab320e98
......@@ -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