diff options
author | lhinds <lhinds@redhat.com> | 2017-11-16 14:34:54 +0000 |
---|---|---|
committer | lhinds <lhinds@redhat.com> | 2017-11-16 14:34:54 +0000 |
commit | 8365245c9dc2f8e2ff2adf8aa84162e420747132 (patch) | |
tree | cb2123ab88f518fdea539e48f5192180a97cf6d7 /anteater/src/patch_scan.py | |
parent | 6a5d426b8244eeb4a4bf0556b9cc0a8a4fee95ed (diff) |
Enter sha256 binary sum in report files
JIRA: RELENG-317
Change-Id: If1a0c1e911e2d9c9684c29379707550133146020
Signed-off-by: lhinds <lhinds@redhat.com>
Diffstat (limited to 'anteater/src/patch_scan.py')
-rw-r--r-- | anteater/src/patch_scan.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/anteater/src/patch_scan.py b/anteater/src/patch_scan.py index 133b0ff..3097d00 100644 --- a/anteater/src/patch_scan.py +++ b/anteater/src/patch_scan.py @@ -102,6 +102,9 @@ def scan_patch(project, patch_file, binary_list, file_audit_list, as gate_report: gate_report.write('Non Whitelisted Binary file: {0}\n'. format(patch_file)) + gate_report.write('Submit patch with the following hash: {0}\n'. + format(hasher.hexdigest())) + else: # Check file names / extensions if file_audit_list.search(patch_file) and not \ |