Failure = True is incorrectly formnatted, meaning the failure
is not registered within the conditonal check
Change-Id: Ib648c9d763fe1d9cbcc69dfe2f27c2aad89a68cf
Signed-off-by: lhinds <lhinds@redhat.com>
logger.error('Flagged Content: %s', line.rstrip())
logger.error('Matched Regular Exp: %s', regex)
logger.error('Rationale: %s', desc.rstrip())
- failure = True
+ failure = True
with open(reports_dir + "contents_" + project + ".log",
"a") as gate_report:
gate_report.write('File contains violation: {0}\n'.