From e443e6a278601ef88afc87aecbbe55a9c27d515d Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 21 Jan 2010 21:49:47 +0100 Subject: [PATCH] notautomatic build queues can now be notautomatic. Signed-off-by: Joerg Jaspert --- daklib/dbconn.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 720e11e3..9c46bba5 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -530,6 +530,12 @@ class BuildQueue(object): os.system("""apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="%s" -o APT::FTPArchive::Release::Label="%s" -o APT::FTPArchive::Release::Description="%s" -o APT::FTPArchive::Release::Architectures="%s" release %s > Release""" % (self.origin, self.label, self.releasedescription, arches, bname)) + # Crude hack with open and append, but this whole section is and should be redone. + if self.notautomatic: + release=open("Release", "a") + release.write("NotAutomatic: yes") + release.close() + # Sign if necessary if self.signingkey: cnf = Config() -- 2.39.5