From 2d109056fb63be098b5a63d29210b616db35e7ed Mon Sep 17 00:00:00 2001 From: Junji Watanabe Date: Thu, 10 Aug 2023 15:32:31 +0000 Subject: [PATCH] [reclient] Add quotes to download_remoteexec_cfg in error message Fixed: b/295319793 Change-Id: Ida0c7a01a04d396bc36f64742f973a75b11fb0f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4770874 Auto-Submit: Junji Watanabe Commit-Queue: Bruce Dawson Reviewed-by: Bruce Dawson --- reclient_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reclient_helper.py b/reclient_helper.py index 835654800..15723d72f 100644 --- a/reclient_helper.py +++ b/reclient_helper.py @@ -195,10 +195,10 @@ def build_context(argv, tool): reclient_bin_dir = find_reclient_bin_dir() reclient_cfg = find_reclient_cfg() if reclient_bin_dir is None or reclient_cfg is None: - print(("Build is configured to use reclient but necessary binaries " + print(('Build is configured to use reclient but necessary binaries ' "or config files can't be found.\n" - "Please check if `download_remoteexec_cfg: True` custom var is set" - " in `.gclient`, and run `gclient sync`."), + 'Please check if `"download_remoteexec_cfg": True` custom var is set' + ' in `.gclient`, and run `gclient sync`.'), file=sys.stderr) yield 1 return