Code Review
/
releng-anteater.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enter sha256 binary sum in report files
[releng-anteater.git]
/
anteater
/
src
/
patch_scan.py
diff --git
a/anteater/src/patch_scan.py
b/anteater/src/patch_scan.py
index
133b0ff
..
3097d00
100644
(file)
--- 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))
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 \
else:
# Check file names / extensions
if file_audit_list.search(patch_file) and not \