Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: tools/findit/crash_utils.py

Issue 510163002: [Findit] Fix blame for GIT and uptake bug fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reupload Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/findit/chromium_deps.py ('k') | tools/findit/findit_for_crash.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/findit/crash_utils.py
diff --git a/tools/findit/crash_utils.py b/tools/findit/crash_utils.py
index da3c081e79e534b5fdbfb372a90701e6aaf9854d..4aa5fbdfd7828a381529249e80b084e7b18c3e17 100644
--- a/tools/findit/crash_utils.py
+++ b/tools/findit/crash_utils.py
@@ -231,7 +231,7 @@ def GetDataFromURL(url, retries=10, sleep_time=0.1, timeout=5):
# Retrieves data from URL.
try:
status_code, data = utils.GetHttpClient().Get(url, timeout=timeout)
- except IOError:
+ except IOError as e:
status_code = -1
data = None
@@ -370,7 +370,7 @@ def PrettifyFrameInfo(frame_indices, functions):
"""Return a string to represent the frames with functions."""
frames = []
for frame_index, function in zip(frame_indices, functions):
- frames.append('frame #%s, function "%s"' % (frame_index, function))
+ frames.append('frame #%s, "%s"' % (frame_index, function.split('(')[0]))
return '; '.join(frames)
« no previous file with comments | « tools/findit/chromium_deps.py ('k') | tools/findit/findit_for_crash.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698