Print the SHA of files downloaded from GS

Bug: angleproject:4621
Change-Id: I85aefeeffa05712a63a62e9acef8df27b1933e34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2190862
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
Yuly Novikov
2020-05-08 19:46:56 +00:00
committed by LUCI CQ
parent 6afaa6ca97
commit 64dab2dbab
2 changed files with 8 additions and 9 deletions

View File

@@ -284,7 +284,8 @@ def _downloader_worker_thread(thread_num, q, force, base_url,
continue
# Fetch the file.
if verbose:
out_q.put('%d> Downloading %s...' % (thread_num, output_filename))
out_q.put('%d> Downloading %s@%s...' %
(thread_num, output_filename, input_sha1_sum))
try:
if delete:
os.remove(output_filename) # Delete the file if it exists already.