Index: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py |
index 0f4c71325e4dce5e119a97d0af29b44ceb777fdf..41bb16de21147d78f1348e5ac27a72f42c3f7b8d 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py |
@@ -36,7 +36,8 @@ _log = logging.getLogger(__name__) |
conversion_patterns = ( |
(re.compile("^diff --git \w/(.+) \w/(?P<FilePath>.+)"), lambda matched: "Index: " + matched.group('FilePath') + "\n"), |
(re.compile("^new file.*"), lambda matched: "\n"), |
- (re.compile("^index (([0-9a-f]{7}\.\.[0-9a-f]{7})|([0-9a-f]{40}\.\.[0-9a-f]{40})) [0-9]{6}"), lambda matched: ("=" * 67) + "\n"), |
+ (re.compile("^index (([0-9a-f]{7}\.\.[0-9a-f]{7})|([0-9a-f]{40}\.\.[0-9a-f]{40})) [0-9]{6}"), |
+ lambda matched: ("=" * 67) + "\n"), |
(re.compile("^--- \w/(?P<FilePath>.+)"), lambda matched: "--- " + matched.group('FilePath') + "\n"), |
(re.compile("^\+\+\+ \w/(?P<FilePath>.+)"), lambda matched: "+++ " + matched.group('FilePath') + "\n"), |
) |