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

Side by Side Diff: tools/findit/repository_parser_interface.py

Issue 501153004: Fix a very minor typo in ParseBlameInfo's docstring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 class ParserInterface(object): 6 class ParserInterface(object):
7 """The interface for parsers.""" 7 """The interface for parsers."""
8 8
9 def ParseChangelog(self, component_path, range_start, range_end): 9 def ParseChangelog(self, component_path, range_start, range_end):
10 """Parses changelog from the URL stored in the parser object. 10 """Parses changelog from the URL stored in the parser object.
(...skipping 25 matching lines...) Expand all
36 Returns: 36 Returns:
37 url: The URL of the diff page, returns the changelog page for the 37 url: The URL of the diff page, returns the changelog page for the
38 file if the diff cannot be retrieved. 38 file if the diff cannot be retrieved.
39 changed_line_numbers: The list of the line numbers that has been 39 changed_line_numbers: The list of the line numbers that has been
40 changed. 40 changed.
41 changed_line_contents: The content of the changed lines. 41 changed_line_contents: The content of the changed lines.
42 """ 42 """
43 raise NotImplementedError() 43 raise NotImplementedError()
44 44
45 def ParseBlameInfo(self, component, file_path, line, revision): 45 def ParseBlameInfo(self, component, file_path, line, revision):
46 """Parses blame imformation of the given file/line in revision. 46 """Parses blame information of the given file/line in revision.
47 47
48 Args: 48 Args:
49 component: The component this line is from. 49 component: The component this line is from.
50 file_path: The path of the file. 50 file_path: The path of the file.
51 line: The line that caused the crash. 51 line: The line that caused the crash.
52 revision: The revision to parse blame information for. 52 revision: The revision to parse blame information for.
53 53
54 Returns: 54 Returns:
55 The content of the line, the last changed revision of the line, author 55 The content of the line, the last changed revision of the line, author
56 and the url of the revision. 56 and the url of the revision.
57 """ 57 """
58 raise NotImplementedError() 58 raise NotImplementedError()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698