Index: build/android/pylib/perf/test_runner.py |
diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py |
index a580fd48185d4cb75e975e35cb02af630b61a550..161c511f88f72033b66c0d0977059fdf760488e0 100644 |
--- a/build/android/pylib/perf/test_runner.py |
+++ b/build/android/pylib/perf/test_runner.py |
@@ -74,6 +74,7 @@ _GIT_CR_POS_RE = re.compile(r'^Cr-Commit-Position: refs/heads/master@{#(\d+)}$') |
def _GetChromiumRevision(): |
+ # pylint: disable=line-too-long |
"""Get the git hash and commit position of the chromium master branch. |
See: https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/runtest.py#212 |
@@ -81,6 +82,7 @@ def _GetChromiumRevision(): |
Returns: |
A dictionary with 'revision' and 'commit_pos' keys. |
""" |
+ # pylint: enable=line-too-long |
status, output = cmd_helper.GetCmdStatusAndOutput( |
['git', 'log', '-n', '1', '--pretty=format:%H%n%B', 'HEAD'], |
constants.DIR_SOURCE_ROOT) |