diff options
author | George Burgess IV <gbiv@google.com> | 2016-09-12 18:24:54 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-13 01:57:54 -0700 |
commit | ed69676d435b7b6983271ed8fab200627a0b966e (patch) | |
tree | 940d47e74352f8bc4c33092f7933187571814ada /cros_utils | |
parent | c9df56c133c35bb5154a6c947d0986c35097c6e1 (diff) | |
download | toolchain-utils-ed69676d435b7b6983271ed8fab200627a0b966e.tar.gz |
crosperf+cros_utils: Swap to #!/usr/bin/env.
`cros lint` was recently updated to complain about
using #!/usr/bin/python{,2,3} directly. Instead, it prefers
/usr/bin/env python{2,3} now.
BUG=None
TEST=./run_tests.sh passes; linter seems much happier with crosperf.
Change-Id: I9b88a7af1f8e03b7c870781c3d8dc1b872a3dfc3
Reviewed-on: https://chrome-internal-review.googlesource.com/286341
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'cros_utils')
-rwxr-xr-x | cros_utils/buildbot_json.py | 2 | ||||
-rwxr-xr-x | cros_utils/command_executer_unittest.py | 2 | ||||
-rwxr-xr-x | cros_utils/email_sender.py | 2 | ||||
-rwxr-xr-x | cros_utils/perf_diff.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cros_utils/buildbot_json.py b/cros_utils/buildbot_json.py index 693a42cd..8a9d9cb8 100755 --- a/cros_utils/buildbot_json.py +++ b/cros_utils/buildbot_json.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/cros_utils/command_executer_unittest.py b/cros_utils/command_executer_unittest.py index d5f5d0cf..f039ebc5 100755 --- a/cros_utils/command_executer_unittest.py +++ b/cros_utils/command_executer_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 """Unittest for command_executer.py.""" from __future__ import print_function diff --git a/cros_utils/email_sender.py b/cros_utils/email_sender.py index cd45b4ec..e5a20ad2 100755 --- a/cros_utils/email_sender.py +++ b/cros_utils/email_sender.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2011 Google Inc. All Rights Reserved. """Utilities to send email either through SMTP or SendGMR.""" diff --git a/cros_utils/perf_diff.py b/cros_utils/perf_diff.py index c861f6ba..31cde994 100755 --- a/cros_utils/perf_diff.py +++ b/cros_utils/perf_diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2012 Google Inc. All Rights Reserved. """One-line documentation for perf_diff module. |