commit | 3a4e4a60341a6ddff064f82db0e07a33cb8e98bb | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Thu May 28 09:43:40 2020 -0700 |
committer | George Burgess <gbiv@chromium.org> | Thu May 28 16:46:00 2020 +0000 |
tree | e68ff6aefe737fb28d4dc543e6be25179bb9a61a | |
parent | e3eeb6669314ac3b2711aed1e78e215228024e13 [diff] |
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>
diff --git a/crosperf/results_cache.py b/crosperf/results_cache.py index b208ef9..b6050b6 100644 --- a/crosperf/results_cache.py +++ b/crosperf/results_cache.py
@@ -128,6 +128,7 @@ 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])