def generate_reject_messages(parsed_tags, tag_definitions, log=lambda *args: args):
"""
Generates package reject messages by comparing parsed lintian output with
def generate_reject_messages(parsed_tags, tag_definitions, log=lambda *args: args):
"""
Generates package reject messages by comparing parsed lintian output with
# Overriding this tag is NOT allowed.
log('ftpmaster does not allow tag to be overridable', etag)
# Overriding this tag is NOT allowed.
log('ftpmaster does not allow tag to be overridable', etag)
# Now tell if they *might* override it.
if etag in tag_definitions['nonfatal']:
log("auto rejecting", "overridable", etag)
# Now tell if they *might* override it.
if etag in tag_definitions['nonfatal']:
log("auto rejecting", "overridable", etag)
- rejects.append(
- "%s: If you have a good reason, you may override this "
- "lintian tag." % epackage)
+ yield "%s: If you have a good reason, you may override this " \
+ "lintian tag." % epackage