Signed-off-by: Chris Lamb <lamby@debian.org>
###########################################################################
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