summaryrefslogtreecommitdiff
path: root/extra/usb_power
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2019-09-22 10:39:36 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-01 11:16:43 +0000
commit68c9a2870ead8a3306a2601c4f5689656d49c6a8 (patch)
tree87f42e176655e1458ec732e6ddd5bcb9e21335ab /extra/usb_power
parentaee33d5c90f8a1c754dc7651a9c8aad20bb063ec (diff)
downloadchrome-ec-68c9a2870ead8a3306a2601c4f5689656d49c6a8.tar.gz
Unify #! use in python scripts
Right now we have several different versions of #! in our python scripts. Unify them all and specify that we are using python2. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> BUG=none BRANCH=none TEST=make buildall Change-Id: Iab33a3f5d4b827451a55542bcee8837b00da7867 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1817948 Commit-Queue: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'extra/usb_power')
-rw-r--r--extra/usb_power/convert_power_log_board.py2
-rwxr-xr-xextra/usb_power/convert_servo_ina.py2
-rwxr-xr-xextra/usb_power/powerlog.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/extra/usb_power/convert_power_log_board.py b/extra/usb_power/convert_power_log_board.py
index 3f0cfec014..b970d86cd7 100644
--- a/extra/usb_power/convert_power_log_board.py
+++ b/extra/usb_power/convert_power_log_board.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
diff --git a/extra/usb_power/convert_servo_ina.py b/extra/usb_power/convert_servo_ina.py
index 188bae8799..aabe4967da 100755
--- a/extra/usb_power/convert_servo_ina.py
+++ b/extra/usb_power/convert_servo_ina.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
diff --git a/extra/usb_power/powerlog.py b/extra/usb_power/powerlog.py
index 44754ad663..e079ca1188 100755
--- a/extra/usb_power/powerlog.py
+++ b/extra/usb_power/powerlog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.