From: Joerg Jaspert Date: Sat, 17 Mar 2012 15:56:19 +0000 (+0100) Subject: Allow squeeze-backports for dm X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd24d48805f7c26b135767db1d9ebabdf3342f3e;p=dak Allow squeeze-backports for dm Signed-off-by: Joerg Jaspert --- diff --git a/daklib/queue.py b/daklib/queue.py index ccb806e9..8acfb4e7 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -386,8 +386,9 @@ def edit_note(note, upload, session, trainee=False): ############################################################################### +# FIXME: Should move into the database # suite names DMs can upload to -dm_suites = ['unstable', 'experimental'] +dm_suites = ['unstable', 'experimental', 'squeeze-backports'] def get_newest_source(source, session): 'returns the newest DBSource object in dm_suites' @@ -1807,7 +1808,7 @@ class Upload(object): r = get_newest_source(self.pkg.changes["source"], session) if r is None: - rej = "Could not find existing source package %s in unstable or experimental and this is a DM upload" % self.pkg.changes["source"] + rej = "Could not find existing source package %s in the DM allowed suites and this is a DM upload" % self.pkg.changes["source"] self.rejects.append(rej) return