X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdbconn.py;h=ea11a1454724cd0f77aef276e89cb01c8e1b3642;hb=2f2cc6977f137b0581c83aceb881dd667fee47f7;hp=720e11e32e6a87a62a520aab300cc2ab27cb6b1d;hpb=057cfc7863445cbdcc0abbf26f0922a6b2fbe9b7;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 720e11e3..ea11a145 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() @@ -2299,7 +2305,7 @@ def add_dsc_to_db(u, filename, session=None): # Add the src_uploaders to the DB uploader_ids = [source.maintainer_id] if u.pkg.dsc.has_key("uploaders"): - for up in u.pkg.dsc["uploaders"].split(","): + for up in u.pkg.dsc["uploaders"].replace(">, ", ">\t").split("\t"): up = up.strip() uploader_ids.append(get_or_set_maintainer(up, session).maintainer_id)