Commit 96ed03d5 authored by scottmg@chromium.org's avatar scottmg@chromium.org

Fix 'Calculating hash...' message

Right now I get

Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...

which isn't very informative (or at least a bit confusing as to why it's
doing the same thing 6 times).

R=brucedawson@chromium.org

Review URL: https://codereview.chromium.org/1671433002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298593 0039d316-1c4b-4281-b951-d872f2087c98
parent b182750e
......@@ -123,7 +123,7 @@ def CalculateHash(root, expected_hash):
return timestamps_data['sha1']
# Make long hangs when updating the toolchain less mysterious.
print 'Calculating hash of toolchain in %s. Please wait...' % root
print 'Calculating hash of toolchain in %s. Please wait...' % full_root_path
sys.stdout.flush()
digest = hashlib.sha1()
for path in file_list:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment