From: Chris Lamb Date: Tue, 27 Oct 2009 20:17:52 +0000 (+0000) Subject: Only lintian reject uploads to unstable or experimental X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b33f7622332b066a580272f7bdd1bfe9b7096ca;p=dak Only lintian reject uploads to unstable or experimental Signed-off-by: Chris Lamb --- diff --git a/daklib/queue.py b/daklib/queue.py index e43ffaf8..2a3db367 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1209,6 +1209,16 @@ class Upload(object): ########################################################################### def check_lintian(self): + # Only check some distributions + valid_dist = False + for dist in ('unstable', 'experimental'): + if dist in self.pkg.changes['distribution']: + valid_dist = True + break + + if not valid_dist: + return + cnf = Config() tagfile = cnf("Dinstall::LintianTags") # Parse the yaml file