aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Hinds <lhinds@redhat.com>2017-09-06 09:17:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-06 09:17:41 +0000
commitb3c29549dd5d1048604f45222981d343d0dde09f (patch)
treefef34c1879c6e29978024b7e599783d50bc9df1e
parentc4bb4521f589bd5561237b90d21f66082e0f448c (diff)
parentc0ad2e46b9ceacbf2214efdcfa1dad749390a34b (diff)
Merge "Small fix for log formatting"
-rw-r--r--anteater/src/patch_scan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/anteater/src/patch_scan.py b/anteater/src/patch_scan.py
index ba0acdf..083639f 100644
--- a/anteater/src/patch_scan.py
+++ b/anteater/src/patch_scan.py
@@ -139,9 +139,9 @@ def scan_patch(project, patch_file, binary_list, file_audit_list,
format(patch_file))
gate_report.write('Flagged Content: {0}'.
format(line))
- gate_report.write('Matched Regular Exp: {0}'.
+ gate_report.write('Matched Regular Exp: {0}\n'.
format(regex))
- gate_report.write('Rationale: {0}'.
+ gate_report.write('Rationale: {0}\n'.
format(desc.rstrip()))
# Run license check
licence_check(project, licence_ext, licence_ignore, patch_file)