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 6beb117d86e114af9f31797018e880b8e45a7c24..8bcbe7b9f343a4303464f37f44314a9feff10f94 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) |