aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJian Cai <jiancai@google.com>2020-02-12 00:01:52 -0800
committerJian Cai <jiancai@google.com>2020-02-12 21:46:55 +0000
commitcc2dc332a43b1da9f522682d385356273d3b6801 (patch)
tree3d9bcd6a97e1d64d7daa601a275ee09f5667d109
parent6ba01883794a0e69cd05bb516162a60e582b9ebc (diff)
downloadtoolchain-utils-cc2dc332a43b1da9f522682d385356273d3b6801.tar.gz
bisection: fix an error message
BUG=chromium:1042452 TEST=verified locally Change-Id: Idded43332b2f6a71a3d21d8fd06cee98550f0d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2050968 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Jian Cai <jiancai@google.com>
-rw-r--r--binary_search_tool/bisect_driver.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/binary_search_tool/bisect_driver.py b/binary_search_tool/bisect_driver.py
index e890e5ec..ac37ad9f 100644
--- a/binary_search_tool/bisect_driver.py
+++ b/binary_search_tool/bisect_driver.py
@@ -267,10 +267,10 @@ def cache_file(execargs, bisect_dir, cache, abs_file_path):
if CONTINUE_ON_REDUNDANCY:
return True
raise Exception(
- 'Trying to cache file %s multiple times. To avoid the error, set \
- CONTINUE_ON_REDUNDANCY to 1. For reference, the list of such files \
- will be written to %s' % (abs_file_path,
- os.path.join(population_dir, '_DUPS')))
+ 'Trying to cache file %s multiple times. To avoid the error, set ' \
+ 'BISECT_CONTINUE_ON_REDUNDANCY to 1. For reference, the list of ' \
+ 'such files will be written to %s' % (abs_file_path, os.path.join(
+ population_dir, '_DUPS')))
shutil.copy2(abs_file_path, bisect_path)
# Set cache object to be read-only so later compilations can't