# We know it and it is overriden. Check that override is allowed.
iflintiantags['warning'][etag]:
# The tag is overriden, and it is allowed to be overriden.
# Continue as if it isnt there.
next
eliflintiantags['error'][etag]:
# 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))
return
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))
# Now tell if they *might* override it.
iflintiantags['wayout'][etag]:
self.rejects.append("%s: If you have a good reason, you may override this lintian tag. Laziness to fix your crap is NOT A GOOD REASON, sod off"%(epackage))
ifmisNone:
continue
etype=m.group(1)
epackage=m.group(2)
etag=m.group(3)
etext=m.group(4)
# So lets check if we know the tag at all.
ifetagintags:
ifetype=='O':
# We know it and it is overriden. Check that override is allowed.
iflintiantags['warning'][etag]:
# The tag is overriden, and it is allowed to be overriden.
# Continue as if it isnt there.
next
eliflintiantags['error'][etag]:
# 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))
return
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))
# Now tell if they *might* override it.
iflintiantags['wayout'][etag]:
self.rejects.append("%s: If you have a good reason, you may override this lintian tag. Laziness to fix your crap is NOT A GOOD REASON, sod off"%(epackage))