diff options
author | lhinds <lhinds@redhat.com> | 2017-09-05 11:16:33 +0100 |
---|---|---|
committer | lhinds <lhinds@redhat.com> | 2017-09-05 11:16:33 +0100 |
commit | c0ad2e46b9ceacbf2214efdcfa1dad749390a34b (patch) | |
tree | 76b4e6f7aadf1d7793151e9c9a0cd7bd07ca60ea /anteater | |
parent | a64cab2ea4428f59644b8e7166aa9e2fe73fbf2f (diff) |
Small fix for log formatting
A new line was missing on the content logs that was spoiling
output to .reports/
Change-Id: I2748c2848debc1fa850fc5ce27d71cbaa5e4f78f
Signed-off-by: lhinds <lhinds@redhat.com>
Diffstat (limited to 'anteater')
-rw-r--r-- | anteater/src/patch_scan.py | 4 |
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) |