aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlhinds <lhinds@redhat.com>2017-08-21 10:23:43 +0100
committerlhinds <lhinds@redhat.com>2017-08-21 10:23:43 +0100
commit0d0bdddb062d4e93cfa0ed025dfed1a6ff65df9d (patch)
tree798b34e06fe8bf73729643344071e9be2b613e03
parentd1db65c86809a0ea9adae1423237cdc60eb026fb (diff)
Incorrect Ident
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>
-rw-r--r--anteater/src/patch_scan.py2
1 files changed, 1 insertions, 1 deletions
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'.