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 --- get_common_image_version.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'get_common_image_version.py') diff --git a/get_common_image_version.py b/get_common_image_version.py index da36b98f..4bb6949f 100755 --- a/get_common_image_version.py +++ b/get_common_image_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # # Copyright 2013 Google Inc. All Rights Reserved. """Script to find list of common images (first beta releases) in Chromeos. @@ -63,11 +63,12 @@ def Main(argv): """Get ChromeOS first betas list from history URL.""" parser = argparse.ArgumentParser() - parser.add_argument('--serialize', - dest='serialize', - default=None, - help='Save list of common images into the specified ' - 'file.') + parser.add_argument( + '--serialize', + dest='serialize', + default=None, + help='Save list of common images into the specified ' + 'file.') options = parser.parse_args(argv) try: -- cgit v1.2.3