]> err.no Git - dak/commitdiff
Log whether maintainer can override when we lintian auto-reject.
authorChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 20:53:18 +0000 (20:53 +0000)
committerChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 20:53:18 +0000 (20:53 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index 24fd526c8b55fe0b65c9f2e241cacda347857e26..5ce068d8b06e771175d749f962d0036ba10aa401 100755 (executable)
@@ -1382,10 +1382,12 @@ class Upload(object):
             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']:
+                    log("auto rejecting", "overridable", etag)
                     self.rejects.append("%s: If you have a good reason, you may override this lintian tag." % (epackage))
+                else:
+                    log("auto rejecting", "not overridable", etag)
 
     ###########################################################################
     def check_urgency(self):