aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-07-22 16:28:12 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-27 07:23:18 -0700
commit9099a788cd7124024559c064e425ed9caef6e0ac (patch)
tree87df663ff83ab398121cd66e9528422979a63cf6 /binary_search_tool
parent19e119b46c14f57988ba3504369e815d3aab0122 (diff)
downloadtoolchain-utils-9099a788cd7124024559c064e425ed9caef6e0ac.tar.gz
[crosperf] Clean up exceptions.
Found all instances of 'raise Exception' and changed them to raise something slightly more specific. Changed a few 'except Exception' statements appropriately as well. BUG=chromium:566255 TEST=None Change-Id: If2666bd55838342bc71431e5e6ab2157c2c9e125 Reviewed-on: https://chrome-internal-review.googlesource.com/270731 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'binary_search_tool')
-rwxr-xr-xbinary_search_tool/binary_search_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary_search_tool/binary_search_state.py b/binary_search_tool/binary_search_state.py
index a797b492..db8b3d06 100755
--- a/binary_search_tool/binary_search_state.py
+++ b/binary_search_tool/binary_search_state.py
@@ -357,7 +357,7 @@ class BinarySearchState(object):
bss.resumed = True
binary_search_perforce.verbose = bss.verbose
return bss
- except Exception:
+ except StandardError:
return None
def RemoveState(self):