| Index: tools/findit/findit_for_crash.py
|
| diff --git a/tools/findit/findit_for_crash.py b/tools/findit/findit_for_crash.py
|
| index e0f88eacdf17e8fd7336c1c5a36f137bb81b43fe..689294987ca0b1ccb2f4efbb3889c0e5c6fc78b8 100644
|
| --- a/tools/findit/findit_for_crash.py
|
| +++ b/tools/findit/findit_for_crash.py
|
| @@ -495,7 +495,7 @@ def CombineMatches(matches):
|
| continue
|
|
|
| # Combine the reason if the current match is already in there.
|
| - found_match.reason += match.reason
|
| + found_match.reason += '\n' + match.reason
|
| if match.min_distance < found_match.min_distance:
|
| found_match.min_distance = match.min_distance
|
| found_match.min_distance_info = match.min_distance_info
|
| @@ -503,10 +503,11 @@ def CombineMatches(matches):
|
| for stack_index, cl, match in combined_matches:
|
| if match.min_distance_info:
|
| file_name, min_crashed_line, min_changed_line = match.min_distance_info
|
| - match.reason += \
|
| - ('\nMinimum distance from crash line to modified line: %d. '
|
| - '(file: %s, crashed on: %d, modified: %d).\n' %
|
| - (match.min_distance, file_name, min_crashed_line, min_changed_line))
|
| + match.reason = match.reason.strip()
|
| + match.reason += (
|
| + '\nMinimum distance from crash line to modified line: %d. '
|
| + '(file: %s, crashed on: %d, modified: %d).' %
|
| + (match.min_distance, file_name, min_crashed_line, min_changed_line))
|
|
|
| return combined_matches
|
|
|
|
|