diff options
author | Craig Hesling <hesling@chromium.org> | 2020-06-02 08:08:01 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-04 20:07:47 +0000 |
commit | 735d6ac67e404e9636936906b9ec0aa3b0af6ada (patch) | |
tree | 0ae80dff8ae0323c8e8877647846db941d911236 /util | |
parent | e38fa2719bdb9cd732b9ecd319fe29644104859a (diff) | |
download | chrome-ec-735d6ac67e404e9636936906b9ec0aa3b0af6ada.tar.gz |
util/flash_jlink: Enforce python3
Python 3 is required for the subprocess.run line.
Enforcing python 3 helps our non-chroot devs.
BRANCH=none
BUG=none
TEST=# Outside chroot
./util/flash_jlink.py
# Ensure the error does not reference subprocess.run
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I057c1b00696a4b356f162795fd1794eba9c54bd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2226877
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/flash_jlink.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_jlink.py b/util/flash_jlink.py index 160c25e9df..ae5a0cf921 100755 --- a/util/flash_jlink.py +++ b/util/flash_jlink.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be |