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

Unified Diff: tools/bisect-manual-test.py

Issue 419653002: Style cleanup in auxiliary bisect-related scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | tools/prepare-bisect-perf-regression.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bisect-manual-test.py
diff --git a/tools/bisect-manual-test.py b/tools/bisect-manual-test.py
index b25673afea8ab18c5a8743cae5612af45eb37226..8d0ab41425aae88c95102d73c59f60480701b0a6 100755
--- a/tools/bisect-manual-test.py
+++ b/tools/bisect-manual-test.py
@@ -20,18 +20,19 @@ def _StartManualTest(options):
"""Start browser then ask the user whether build is good or bad."""
browser_to_create = browser_finder.FindBrowser(options)
print 'Starting browser: %s.' % options.browser_type
- with browser_to_create.Create() as browser:
+ with browser_to_create.Create() as _:
# Loop until we get a response that we can parse.
while True:
sys.stderr.write('Revision is [(g)ood/(b)ad]: ')
response = raw_input()
if response and response in ('g', 'b'):
if response in ('g'):
- print "RESULT manual_test: manual_test= 1"
+ print 'RESULT manual_test: manual_test= 1'
else:
- print "RESULT manual_test: manual_test= 0"
+ print 'RESULT manual_test: manual_test= 0'
break
+
def main():
usage = ('%prog [options]\n'
'Starts browser with an optional url and asks user whether '
@@ -39,7 +40,7 @@ def main():
options = browser_options.BrowserFinderOptions()
parser = options.CreateParser(usage)
- options, args = parser.parse_args()
+ options, _ = parser.parse_args()
_StartManualTest(options)
« no previous file with comments | « no previous file | tools/prepare-bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698