From: Philipp Kern Date: Sat, 13 Sep 2008 14:42:16 +0000 (+0000) Subject: daklib/utils.py (dump_vars): do not blindly re-raise exceptions X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=6884c6038e735f6206dc74d859141f911d81da52;p=dak.git daklib/utils.py (dump_vars): do not blindly re-raise exceptions --- diff --git a/daklib/queue.py b/daklib/queue.py index 2c3602a2..1dd3a75e 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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 = {}