X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=03b5e6b9f7453a0206ee79d5a31693e6fe2e2095;hb=382f9d5d611d17c1ffa1fd5e729e811dde4f347e;hp=f7d999a3da7220135d89d522ac87948775182199;hpb=fb11aec0c46bae0797a4e32b1d19eb6fcbc07c49;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index f7d999a3..03b5e6b9 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1267,6 +1267,12 @@ class Upload(object): if len(output) == 0: return + def log(*txt): + if self.logger: + args = [self.pkg.changes_file, "check_lintian"] + args.extend(txt) + self.logger.log(args) + # We have output of lintian, this package isn't clean. Lets parse it and see if we # are having a victim for a reject. # W: tzdata: binary-without-manpage usr/sbin/tzconfig @@ -1293,9 +1299,11 @@ class Upload(object): elif etag in lintiantags['error']: # The tag is overriden - but is not allowed to be self.rejects.append("%s: Overriden tag %s found, but this tag may not be overwritten." % (epackage, etag)) + log("overidden tag is overridden", etag) else: # Tag is known, it is not overriden, direct reject. self.rejects.append("%s: Found lintian output: '%s %s', automatically rejected package." % (epackage, etag, etext)) + log("auto rejecting", etag) # Now tell if they *might* override it. if etag in lintiantags['warning']: self.rejects.append("%s: If you have a good reason, you may override this lintian tag." % (epackage))