diff options
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | 2015-12-22 16:12:07 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-12-28 21:59:35 +0000 |
commit | d7444b7a6d96440d0229d898401a59f141576381 (patch) | |
tree | 5bf6b50a235daa96e107dc0e442f89d540975974 | |
parent | 9959b1eb9166ed81840c7e08ff179f00a5448cf2 (diff) | |
download | toolchain-utils-d7444b7a6d96440d0229d898401a59f141576381.tar.gz |
toolchain-utils: fix shebang related lint warnings.
This CL fixes all missing-shebang and bad-shebang lint warnings.
BUG=chromium:570458
TEST='crosperf/run_tests.sh' passes.
Change-Id: I41bd3516496b246e4e4a8ccc9f97fb25007738a7
Reviewed-on: https://chrome-internal-review.googlesource.com/243136
Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com>
Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
-rw-r--r--[-rwxr-xr-x] | binary_search_tool/__init__.py | 1 | ||||
-rwxr-xr-x | binary_search_tool/cros_pkg/cros_pkg_create_cleanup_script.py | 2 | ||||
-rwxr-xr-x | binary_search_tool/cros_pkg/cros_pkg_undo_eclean.py | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | binary_search_tool/test/__init__.py | 1 | ||||
-rwxr-xr-x | binary_search_tool/test/binary_search_tool_tester.py | 2 | ||||
-rwxr-xr-x | binary_search_tool/test/common.py | 2 | ||||
-rwxr-xr-x | binary_search_tool/test/gen_init_list.py | 2 | ||||
-rwxr-xr-x | binary_search_tool/test/switch_to_bad.py | 2 | ||||
-rwxr-xr-x | crosperf/crosperf.py | 2 | ||||
-rwxr-xr-x | crosperf/experiment_runner_unittest.py | 2 | ||||
-rwxr-xr-x | crosperf/machine_manager_unittest.py | 2 | ||||
-rwxr-xr-x | utils/buildbot_json.py | 2 | ||||
-rwxr-xr-x | utils/command_executer_unittest.py | 2 | ||||
-rwxr-xr-x | utils/email_sender.py | 2 | ||||
-rwxr-xr-x | utils/perf_diff.py | 2 |
15 files changed, 13 insertions, 15 deletions
diff --git a/binary_search_tool/__init__.py b/binary_search_tool/__init__.py index 8b137891..e69de29b 100755..100644 --- a/binary_search_tool/__init__.py +++ b/binary_search_tool/__init__.py @@ -1 +0,0 @@ - diff --git a/binary_search_tool/cros_pkg/cros_pkg_create_cleanup_script.py b/binary_search_tool/cros_pkg/cros_pkg_create_cleanup_script.py index 52acdb13..640ca658 100755 --- a/binary_search_tool/cros_pkg/cros_pkg_create_cleanup_script.py +++ b/binary_search_tool/cros_pkg/cros_pkg_create_cleanup_script.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright 2015 Google Inc. All Rights Reserved # diff --git a/binary_search_tool/cros_pkg/cros_pkg_undo_eclean.py b/binary_search_tool/cros_pkg/cros_pkg_undo_eclean.py index 1600d2ce..cd7b2c89 100755 --- a/binary_search_tool/cros_pkg/cros_pkg_undo_eclean.py +++ b/binary_search_tool/cros_pkg/cros_pkg_undo_eclean.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright 2015 Google Inc. All Rights Reserved. # diff --git a/binary_search_tool/test/__init__.py b/binary_search_tool/test/__init__.py index 8b137891..e69de29b 100755..100644 --- a/binary_search_tool/test/__init__.py +++ b/binary_search_tool/test/__init__.py @@ -1 +0,0 @@ - diff --git a/binary_search_tool/test/binary_search_tool_tester.py b/binary_search_tool/test/binary_search_tool_tester.py index 3b8e44ce..20defe2f 100755 --- a/binary_search_tool/test/binary_search_tool_tester.py +++ b/binary_search_tool/test/binary_search_tool_tester.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright 2012 Google Inc. All Rights Reserved. """Tests for bisecting tool.""" diff --git a/binary_search_tool/test/common.py b/binary_search_tool/test/common.py index cc0a02e4..5a5a5241 100755 --- a/binary_search_tool/test/common.py +++ b/binary_search_tool/test/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 DEFAULT_OBJECT_NUMBER = 1238 DEFAULT_BAD_OBJECT_NUMBER = 23 diff --git a/binary_search_tool/test/gen_init_list.py b/binary_search_tool/test/gen_init_list.py index 02a111ab..c1348119 100755 --- a/binary_search_tool/test/gen_init_list.py +++ b/binary_search_tool/test/gen_init_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 """Prints out index for every object file, starting from 0.""" import sys diff --git a/binary_search_tool/test/switch_to_bad.py b/binary_search_tool/test/switch_to_bad.py index b253eb87..25f76304 100755 --- a/binary_search_tool/test/switch_to_bad.py +++ b/binary_search_tool/test/switch_to_bad.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 """Switch part of the objects file in working set to (possible) bad ones.""" import sys diff --git a/crosperf/crosperf.py b/crosperf/crosperf.py index 28e78f5b..2466ac6c 100755 --- a/crosperf/crosperf.py +++ b/crosperf/crosperf.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright 2011 Google Inc. All Rights Reserved. """The driver script for running performance benchmarks on ChromeOS.""" diff --git a/crosperf/experiment_runner_unittest.py b/crosperf/experiment_runner_unittest.py index 82c75d8b..d0623e32 100755 --- a/crosperf/experiment_runner_unittest.py +++ b/crosperf/experiment_runner_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright 2014 Google Inc. All Rights Reserved import StringIO diff --git a/crosperf/machine_manager_unittest.py b/crosperf/machine_manager_unittest.py index e581a92b..f0084a0d 100755 --- a/crosperf/machine_manager_unittest.py +++ b/crosperf/machine_manager_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright 2012 Google Inc. All Rights Reserved. """Unittest for machine_manager.""" diff --git a/utils/buildbot_json.py b/utils/buildbot_json.py index d4e91863..3b82ea76 100755 --- a/utils/buildbot_json.py +++ b/utils/buildbot_json.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/utils/command_executer_unittest.py b/utils/command_executer_unittest.py index b7265da4..cf5bf683 100755 --- a/utils/command_executer_unittest.py +++ b/utils/command_executer_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 """Unittest for command_executer.py.""" import time import unittest diff --git a/utils/email_sender.py b/utils/email_sender.py index 5ba1d21c..3300867a 100755 --- a/utils/email_sender.py +++ b/utils/email_sender.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright 2011 Google Inc. All Rights Reserved. """Utilities to send email either through SMTP or SendGMR.""" diff --git a/utils/perf_diff.py b/utils/perf_diff.py index 0fcada6c..46d46a3a 100755 --- a/utils/perf_diff.py +++ b/utils/perf_diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright 2012 Google Inc. All Rights Reserved. """One-line documentation for perf_diff module. |