Chromium Code Reviews| Index: tools/findit/blame.py |
| diff --git a/tools/findit/blame.py b/tools/findit/blame.py |
| index 754626232fd5262eae92b355716e0e5ebf45f50f..c2cdcc8e8864759c8f04ddf0cb28297e423195b5 100644 |
| --- a/tools/findit/blame.py |
| +++ b/tools/findit/blame.py |
| @@ -1,4 +1,4 @@ |
| -# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| @@ -74,7 +74,6 @@ class BlameList(object): |
| """ |
| # Only return blame information for first 'top_n_frames' frames. |
| stack_frames = callstack.GetTopNFrames(top_n_frames) |
| - |
| threads = [] |
| # Iterate through frames in stack. |
| for stack_frame in stack_frames: |
| @@ -154,7 +153,7 @@ class BlameList(object): |
| # Discards results that are after the end of regression. |
| if not utils.IsGitHash(blame.revision) and ( |
| - int(blame.revision) < int(blame.range_end)): |
| + int(blame.range_end) < int(blame.revision)): |
|
stgao
2014/08/15 19:42:38
I think it should be <= instead of <.
|
| continue |
| filtered_blame_list.append(blame) |