From 4b33f7622332b066a580272f7bdd1bfe9b7096ca Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 20:17:52 +0000 Subject: [PATCH] Only lintian reject uploads to unstable or experimental Signed-off-by: Chris Lamb --- daklib/queue.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5