]> err.no Git - dak/commitdiff
daklib/utils.py (dump_vars): do not blindly re-raise exceptions
authorPhilipp Kern <pkern@debian.org>
Sat, 13 Sep 2008 14:42:16 +0000 (14:42 +0000)
committerPhilipp Kern <pkern@debian.org>
Sat, 13 Sep 2008 14:42:16 +0000 (14:42 +0000)
daklib/queue.py

index 2c3602a2b4741ba4690af16b3315e181df762ae7..1dd3a75e2d83c9ce70d527a955fb8d7740640cec 100755 (executable)
@@ -216,10 +216,7 @@ class Upload:
 
         dump_filename = os.path.join(dest_dir,self.pkg.changes_file[:-8] + ".dak")
         dump_file = utils.open_file(dump_filename, 'w')
-        try:
-            os.chmod(dump_filename, 0664)
-        except OSError, e:
-            raise
+        os.chmod(dump_filename, 0664)
 
         p = cPickle.Pickler(dump_file, 1)
         d_changes = {}