From 96ed03d55b3ce43a46715192dc092935fb8bfa77 Mon Sep 17 00:00:00 2001 From: "scottmg@chromium.org" Date: Thu, 4 Feb 2016 18:30:00 +0000 Subject: [PATCH] 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 --- win_toolchain/get_toolchain_if_necessary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win_toolchain/get_toolchain_if_necessary.py b/win_toolchain/get_toolchain_if_necessary.py index 9f091d013..33e057b62 100755 --- a/win_toolchain/get_toolchain_if_necessary.py +++ b/win_toolchain/get_toolchain_if_necessary.py @@ -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: