From f6ef4395fe1896ba68c80e52cb24763b0fcfe7f8 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Thu, 6 Apr 2017 17:16:05 -0700 Subject: [toolchain-utils] Fix remaining lint errors in toolchain-utils. In addition to fixing the lint errors, this also fixes the Python formatting issues (ran tc_pyformat on nearly all the files). BUG=chromium:570450 TEST=Ran all crosperf & bisect tool unit tests. Ran afe_lock_machine.py (check machine status) Ran full crosperf test (octane, speedometer, BootPerf) on alex. Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831 Reviewed-on: https://chromium-review.googlesource.com/471886 Commit-Ready: Caroline Tice Tested-by: Caroline Tice Reviewed-by: Manoj Gupta --- binary_search_tool/test/gen_obj.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binary_search_tool/test/gen_obj.py') diff --git a/binary_search_tool/test/gen_obj.py b/binary_search_tool/test/gen_obj.py index 265729d2..d17e93f5 100755 --- a/binary_search_tool/test/gen_obj.py +++ b/binary_search_tool/test/gen_obj.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 """Script to generate a list of object files. 0 represents a good object file. @@ -86,8 +86,8 @@ def Main(argv): obj_num = len(obj_list) bad_obj_num = obj_list.count('1') - print('Generated {0} object files, with {1} bad ones.'.format(obj_num, - bad_obj_num)) + print('Generated {0} object files, with {1} bad ones.'.format( + obj_num, bad_obj_num)) return 0 -- cgit v1.2.3