X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=anteater%2Fsrc%2Fpatch_scan.py;h=3097d002ed3129027d0424d2a2b7a79f7b269fdf;hb=8365245c9dc2f8e2ff2adf8aa84162e420747132;hp=133b0ff6a26bc312be08ca20c511cb2c78192334;hpb=6a5d426b8244eeb4a4bf0556b9cc0a8a4fee95ed;p=releng-anteater.git 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 \