Hopefully this commit fixes etags in filesystem storage

This commit is contained in:
Markus Unterwaditzer 2014-04-10 12:42:13 +02:00
parent 9b78360515
commit a93a06abb2

View file

@ -36,6 +36,7 @@ class safe_write(object):
return self
def __exit__(self, type, value, tb):
self.f.close()
if type is None:
os.rename(self.tmppath, self.fpath)
else: