2.4 compliant?

--HG--
branch : pmacs2
This commit is contained in:
moculus 2009-03-10 03:34:33 +00:00
parent 676c2374a3
commit b44d96be4d
1 changed files with 1 additions and 2 deletions

View File

@ -679,8 +679,7 @@ class FileBuffer(Buffer):
else: else:
self.store_checksum(data) self.store_checksum(data)
self.modified = False self.modified = False
finally: if exists: os.unlink(temp_path)
if exists: os.unlink(temp_path)
def save_as(self, path): def save_as(self, path):
self.path = path self.path = path
self.save() self.save()