From 027a0e5be13d2bcbea27cc768c98472e87dd9969 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Tue, 16 Jun 2009 12:14:20 +0000 Subject: [PATCH] Remove the Python 2.4 incompatibility introduced with r7507. --- osc/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 7677df40..b4cea8bb 100755 --- a/osc/core.py +++ b/osc/core.py @@ -894,10 +894,9 @@ class Package: f.close() os.rename(os.path.join(self.storedir, '_files.new'), os.path.join(self.storedir, '_files')) except: - raise - finally: if os.path.exists(os.path.join(self.storedir, '_files.new')): os.unlink(os.path.join(self.storedir, '_files.new')) + raise def update_datastructs(self): """