[v7,08/10] config/arm: support python3 only

Message ID 20200921120357.220588-9-kevin.laatz@intel.com (mailing list archive)
State Superseded, archived
Delegated to: David Marchand
Headers
Series adding support for python 3 only |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Kevin Laatz Sept. 21, 2020, 12:03 p.m. UTC
  From: Louise Kilheeney <louise.kilheeney@intel.com>

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>
---
 config/arm/armv8_machine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Robin Jarry Sept. 25, 2020, 2:55 p.m. UTC | #1
Hi Kevin, all,

2020-09-21, Kevin Laatz:
> From: Louise Kilheeney <louise.kilheeney@intel.com>
> 
> 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>

Acked-by: Robin Jarry <robin.jarry@6wind.com>
  

Patch

diff --git a/config/arm/armv8_machine.py b/config/arm/armv8_machine.py
index 404866d2f8..1f689d9a83 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