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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/bisect_results.py

Issue 1044543002: Lint bisect-related modules; obey pylint. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebased Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect/bisect_results.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/bisect_results.py b/scripts/slave/recipe_modules/auto_bisect/bisect_results.py
index f96667bf523314faf61c09af77a373efc96f07eb..dee38e9b945b5aaff3f230b1623c5428f1dc831f 100644
--- a/scripts/slave/recipe_modules/auto_bisect/bisect_results.py
+++ b/scripts/slave/recipe_modules/auto_bisect/bisect_results.py
@@ -99,6 +99,7 @@ _DIRECTION_OF_IMPROVEMENT_ABORT_REASON = (
'expected direction of improvement. Thus, likely represent an improvement '
'and not a regression.')
+
class BisectResults(object):
def __init__(self, bisector):
"""Create a new results object from a finished bisect job."""
@@ -240,7 +241,6 @@ def _pretty_table(data):
Returns: A multi-line string containing the data arranged in a tabular manner.
"""
-
result = ''
column_widths = [0] * len(data[0])
for line in data:
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect/api.py ('k') | scripts/slave/recipe_modules/auto_bisect/bisector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698