X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=6325fde60a48b230e08f850798a645118073e355;hb=ba4056eaffdde2acaf8c6281cf8ba4b3e1da2bd5;hp=9526852734c01a071eef2b3a901f90cc2bafcc63;hpb=25417639c3b647c2a2ad20cdfb2f00bdf24552e9;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 95268527..6325fde6 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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: