Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: tools/bots/bot_utils.py

Issue 2506473003: Print hashes of uploaded files into the builder log, for later verification. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot_utils.py
diff --git a/tools/bots/bot_utils.py b/tools/bots/bot_utils.py
index 1e2ce69fb72876e695b86d001566afce5f680860..dcd5433f5cd4ce5d5acfa67403097f3b0ce5fd14 100644
--- a/tools/bots/bot_utils.py
+++ b/tools/bots/bot_utils.py
@@ -352,6 +352,7 @@ def CreateMD5ChecksumFile(filename, mangled_filename=None):
with open(checksum_filename, 'w') as f:
f.write('%s *%s' % (checksum, mangled_filename))
+ print "MD5 checksum of %s is %s" % (filename, checksum)
return checksum_filename
def CreateSha256ChecksumFile(filename, mangled_filename=None):
@@ -365,6 +366,7 @@ def CreateSha256ChecksumFile(filename, mangled_filename=None):
with open(checksum_filename, 'w') as f:
f.write('%s *%s' % (checksum, mangled_filename))
+ print "SHA256 checksum of %s is %s" % (filename, checksum)
return checksum_filename
def GetChannelFromName(name):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698