X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=anteater%2Fsrc%2Fpatch_scan.py;h=0bc4e7268193cc9c39d056a567cce69815fce01f;hb=0d0bdddb062d4e93cfa0ed025dfed1a6ff65df9d;hp=9f155562f3bd801e2567f0dda5b6394475b052da;hpb=d1db65c86809a0ea9adae1423237cdc60eb026fb;p=releng-anteater.git diff --git a/anteater/src/patch_scan.py b/anteater/src/patch_scan.py index 9f15556..0bc4e72 100644 --- a/anteater/src/patch_scan.py +++ b/anteater/src/patch_scan.py @@ -131,7 +131,7 @@ def scan_patch(project, patch_file, binary_list, file_audit_list, 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'.