diff options
author | Luke Hinds <lhinds@redhat.com> | 2017-09-06 09:17:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-06 09:17:41 +0000 |
commit | b3c29549dd5d1048604f45222981d343d0dde09f (patch) | |
tree | fef34c1879c6e29978024b7e599783d50bc9df1e /anteater/src/patch_scan.py | |
parent | c4bb4521f589bd5561237b90d21f66082e0f448c (diff) | |
parent | c0ad2e46b9ceacbf2214efdcfa1dad749390a34b (diff) |
Merge "Small fix for log formatting"
Diffstat (limited to 'anteater/src/patch_scan.py')
-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) |