From 735d6ac67e404e9636936906b9ec0aa3b0af6ada Mon Sep 17 00:00:00 2001 From: Craig Hesling Date: Tue, 2 Jun 2020 08:08:01 -0700 Subject: 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 Change-Id: I057c1b00696a4b356f162795fd1794eba9c54bd7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2226877 Commit-Queue: Tom Hughes Reviewed-by: Tom Hughes --- util/flash_jlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/flash_jlink.py') 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 -- cgit v1.2.1