From: Joerg Jaspert Date: Sat, 24 Jan 2009 15:51:53 +0000 (+0100) Subject: queue.py X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3d16c0a64665bdd6f8f2f394858d3b6a95ba572d;p=dak.git queue.py "0644" != 0644. damn you, string and int. Signed-off-by: Joerg Jaspert --- diff --git a/daklib/queue.py b/daklib/queue.py index 1a4bb3b3..d7e813a9 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -507,7 +507,7 @@ distribution.""" filename = "%s/%s" % (Cnf["Dir::Queue::BTSVersionTrack"], changes_file[:-8]+".versions") os.rename(temp_filename, filename) - os.chmod(filename, "0644") + os.chmod(filename, 0644) # Write out the binary -> source mapping. (fd, temp_filename) = utils.temp_filename(Cnf["Dir::Queue::BTSVersionTrack"], prefix=".") @@ -523,7 +523,7 @@ distribution.""" filename = "%s/%s" % (Cnf["Dir::Queue::BTSVersionTrack"], changes_file[:-8]+".debinfo") os.rename(temp_filename, filename) - os.chmod(filename, "0644") + os.chmod(filename, 0644) self.queue_build("accepted", Cnf["Dir::Queue::Accepted"])