From c0ad2e46b9ceacbf2214efdcfa1dad749390a34b Mon Sep 17 00:00:00 2001 From: lhinds Date: Tue, 5 Sep 2017 11:16:33 +0100 Subject: 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 --- anteater/src/patch_scan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anteater') 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) -- cgit 1.2.3-korg