]> git.decadent.org.uk Git - dak.git/commitdiff
Rename warning/error in lintian autorejects to nonfatal/fatal.
authorChris Lamb <lamby@debian.org>
Sat, 31 Oct 2009 09:16:20 +0000 (09:16 +0000)
committerChris Lamb <lamby@debian.org>
Sat, 31 Oct 2009 23:00:12 +0000 (23:00 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
config/debian/lintian.tags
daklib/queue.py

index bf489144599b2392f0bdcc11492af22caf8359fd..e736be35d82ce114ddea4b95a6191a2a577ea963 100644 (file)
@@ -1,5 +1,5 @@
 lintian:
-  warning:
+  nonfatal:
     - statically-linked-binary
     - arch-independent-package-contains-binary-or-object
     - arch-dependent-file-in-usr-share
@@ -12,7 +12,7 @@ lintian:
     - mknod-in-maintainer-script
     - package-contains-info-dir-file
     - copyright-lists-upstream-authors-with-dh_make-boilerplate
-  error:
+  fatal:
     - wrong-file-owner-uid-or-gid
     - bad-relation
     - FSSTND-dir-in-usr
index 9526852734c01a071eef2b3a901f90cc2bafcc63..6325fde60a48b230e08f850798a645118073e355 100755 (executable)
@@ -1336,11 +1336,11 @@ class Upload(object):
 
             if etype == 'O':
                 # We know it and it is overriden. Check that override is allowed.
-                if etag in lintiantags['warning']:
+                if etag in lintiantags['nonfatal']:
                     # The tag is overriden, and it is allowed to be overriden.
                     # Don't add a reject message.
                     pass
-                elif etag in lintiantags['error']:
+                elif etag in lintiantags['fatal']:
                     # 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("ftpmaster does not allow tag to be overridable", etag)
@@ -1348,7 +1348,7 @@ class Upload(object):
                 # Tag is known, it is not overriden, direct reject.
                 self.rejects.append("%s: Found lintian output: '%s %s', automatically rejected package." % (epackage, etag, etext))
                 # Now tell if they *might* override it.
-                if etag in lintiantags['warning']:
+                if etag in lintiantags['nonfatal']:
                     log("auto rejecting", "overridable", etag)
                     self.rejects.append("%s: If you have a good reason, you may override this lintian tag." % (epackage))
                 else: