From b9ae2ca9a55d9b754c313f4c9e9f0f3b804a5e44 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 7 Feb 2019 20:11:48 +0000 Subject: [PATCH] Fix get_toolchain_if_necessary.py --nodownload message formatting. And indent properly as well. Change-Id: I78e1f67d7820120bf809f1ac3ab64ce48c74e804 Reviewed-on: https://chromium-review.googlesource.com/c/1458784 Commit-Queue: Lei Zhang Reviewed-by: Scott Graham --- win_toolchain/get_toolchain_if_necessary.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win_toolchain/get_toolchain_if_necessary.py b/win_toolchain/get_toolchain_if_necessary.py index 2f214971c..a82d5e291 100755 --- a/win_toolchain/get_toolchain_if_necessary.py +++ b/win_toolchain/get_toolchain_if_necessary.py @@ -496,8 +496,9 @@ def main(): if desired_hash not in current_hashes: if options.no_download: raise SystemExit('Toolchain is out of date. Run "gclient runhooks" to ' - 'update the toolchain, or set DEPOT_TOOLS_WIN_TOOLCHAIN=0' - 'to use the locally installed toolchain.') + 'update the toolchain, or set ' + 'DEPOT_TOOLS_WIN_TOOLCHAIN=0 to use the locally ' + 'installed toolchain.') should_use_file = False should_use_http = False should_use_gs = False