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): """