From b44d96be4d81561615e637e276b689d72aaf13a0 Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 10 Mar 2009 03:34:33 +0000 Subject: [PATCH] 2.4 compliant? --HG-- branch : pmacs2 --- buffer/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buffer/__init__.py b/buffer/__init__.py index 3c97f39..12fa2da 100644 --- a/buffer/__init__.py +++ b/buffer/__init__.py @@ -679,8 +679,7 @@ class FileBuffer(Buffer): else: self.store_checksum(data) self.modified = False - finally: - if exists: os.unlink(temp_path) + if exists: os.unlink(temp_path) def save_as(self, path): self.path = path self.save()