From 3d16c0a64665bdd6f8f2f394858d3b6a95ba572d Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 24 Jan 2009 16:51:53 +0100 Subject: [PATCH] queue.py "0644" != 0644. damn you, string and int. Signed-off-by: Joerg Jaspert --- daklib/queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]) -- 2.39.5