[v2,9/9] config/arm: support python3 only

Message ID 20200617151051.21191-10-louise.kilheeney@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series adding support for python 3 only. |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK

Commit Message

Louise Kilheeney June 17, 2020, 3:10 p.m. UTC
  Changed script to explicitly use python3 only to avoid
maintaining python 2.

Cc: Thomas Monjalon <thomas@monjalon.net>

Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com>

---
v2: fixed python3 path.
---
 config/arm/armv8_machine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Burakov, Anatoly June 26, 2020, 9:31 a.m. UTC | #1
On 17-Jun-20 4:10 PM, Louise Kilheeney wrote:
> Changed script to explicitly use python3 only to avoid
> maintaining python 2.
> 
> Cc: Thomas Monjalon <thomas@monjalon.net>
> 
> Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com>
> 
> ---
> v2: fixed python3 path.
> ---

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
  

Patch

diff --git a/config/arm/armv8_machine.py b/config/arm/armv8_machine.py
index 404866d2f..1f689d9a8 100755
--- a/config/arm/armv8_machine.py
+++ b/config/arm/armv8_machine.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Cavium, Inc