From 8365245c9dc2f8e2ff2adf8aa84162e420747132 Mon Sep 17 00:00:00 2001 From: lhinds Date: Thu, 16 Nov 2017 14:34:54 +0000 Subject: Enter sha256 binary sum in report files JIRA: RELENG-317 Change-Id: If1a0c1e911e2d9c9684c29379707550133146020 Signed-off-by: lhinds --- anteater/src/patch_scan.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'anteater/src/patch_scan.py') 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 \ -- cgit 1.2.3-korg