aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2020-05-28 09:43:40 -0700
committerGeorge Burgess <gbiv@chromium.org>2020-05-28 16:46:00 +0000
commit3a4e4a60341a6ddff064f82db0e07a33cb8e98bb (patch)
treee68ff6aefe737fb28d4dc543e6be25179bb9a61a
parente3eeb6669314ac3b2711aed1e78e215228024e13 (diff)
downloadtoolchain-utils-3a4e4a60341a6ddff064f82db0e07a33cb8e98bb.tar.gz
results_cache: also `return` instead of `raise`ing
Hasty CLs are hasty. What can I say? ¯\_(ツ)_/¯ Zhizhou says we want to 'succeed' in this case with a log message, though. BUG=chromium:1079048 TEST=Unittests Change-Id: I70ea71dae42d7bee069d7311e14059061c5fa0a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2220215 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
-rw-r--r--crosperf/results_cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/crosperf/results_cache.py b/crosperf/results_cache.py
index b208ef9b..b6050b61 100644
--- a/crosperf/results_cache.py
+++ b/crosperf/results_cache.py
@@ -128,6 +128,7 @@ class Result(object):
if not results_dir:
self._logger.LogOutput(
'WARNING: No results dir matching %r found' % result_dir_name)
+ return
self.CreateTarball(results_dir, tarball)
self.CopyFilesTo(dest_dir, [tarball])