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
changes/01/332501/1
scottmg@chromium.org 9 years ago
parent b182750ed9
commit 96ed03d55b

@ -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:

Loading…
Cancel
Save