lynxis lazus has submitted this change and it was merged. (
https://gerrit.osmocom.org/c/osmocom-bb/+/14759 )
Change subject: target/*.py: shebang: use /usr/bin/env python
..
target/*.py: shebang: use /usr/bin/env python
Use the system default python instead of a hardcoded python2
Allow to use python2 and python3.
Change-Id: Iab185759b574eff1ca1b189dcbb4e1a3eec52132
---
M src/target/firmware/solve_envs.py
M src/target/trx_toolkit/app_common.py
M src/target/trx_toolkit/burst_fwd.py
M src/target/trx_toolkit/burst_gen.py
M src/target/trx_toolkit/burst_send.py
M src/target/trx_toolkit/clck_gen.py
M src/target/trx_toolkit/ctrl_cmd.py
M src/target/trx_toolkit/ctrl_if.py
M src/target/trx_toolkit/ctrl_if_trx.py
M src/target/trx_toolkit/data_dump.py
M src/target/trx_toolkit/data_if.py
M src/target/trx_toolkit/data_msg.py
M src/target/trx_toolkit/fake_pm.py
M src/target/trx_toolkit/fake_trx.py
M src/target/trx_toolkit/gsm_shared.py
M src/target/trx_toolkit/rand_burst_gen.py
M src/target/trx_toolkit/transceiver.py
M src/target/trx_toolkit/trx_list.py
M src/target/trx_toolkit/trx_sniff.py
M src/target/trx_toolkit/udp_link.py
20 files changed, 20 insertions(+), 20 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
diff --git a/src/target/firmware/solve_envs.py
b/src/target/firmware/solve_envs.py
index d4cee80..b010897 100755
--- a/src/target/firmware/solve_envs.py
+++ b/src/target/firmware/solve_envs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
import sys
diff --git a/src/target/trx_toolkit/app_common.py
b/src/target/trx_toolkit/app_common.py
index 9bcd593..f2a47c5 100644
--- a/src/target/trx_toolkit/app_common.py
+++ b/src/target/trx_toolkit/app_common.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/burst_fwd.py
b/src/target/trx_toolkit/burst_fwd.py
index 1d5dd7b..b418aef 100644
--- a/src/target/trx_toolkit/burst_fwd.py
+++ b/src/target/trx_toolkit/burst_fwd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/burst_gen.py
b/src/target/trx_toolkit/burst_gen.py
index b62f48c..6db8219 100755
--- a/src/target/trx_toolkit/burst_gen.py
+++ b/src/target/trx_toolkit/burst_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/burst_send.py
b/src/target/trx_toolkit/burst_send.py
index 6c19e6f..2565f4a 100755
--- a/src/target/trx_toolkit/burst_send.py
+++ b/src/target/trx_toolkit/burst_send.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/clck_gen.py
b/src/target/trx_toolkit/clck_gen.py
index a4b83b5..3e479e3 100755
--- a/src/target/trx_toolkit/clck_gen.py
+++ b/src/target/trx_toolkit/clck_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/ctrl_cmd.py
b/src/target/trx_toolkit/ctrl_cmd.py
index bdacb64..7deeeac 100755
--- a/src/target/trx_toolkit/ctrl_cmd.py
+++ b/src/target/trx_toolkit/ctrl_cmd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/ctrl_if.py
b/src/target/trx_toolkit/ctrl_if.py
index 902af18..89dfe46 100644
--- a/src/target/trx_toolkit/ctrl_if.py
+++ b/src/target/trx_toolkit/ctrl_if.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/ctrl_if_trx.py
b/src/target/trx_toolkit/ctrl_if_trx.py
index 8cb5c1a..e44f8a9 100644
--- a/src/target/trx_toolkit/ctrl_if_trx.py
+++ b/src/target/trx_toolkit/ctrl_if_trx.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/data_dump.py
b/src/target/trx_toolkit/data_dump.py
index 71e1261..97518bd 100644
--- a/src/target/trx_toolkit/data_dump.py
+++ b/src/target/trx_toolkit/data_dump.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/data_if.py
b/src/target/trx_toolkit/data_if.py
index 11df756..e43b388 100644
--- a/src/target/trx_toolkit/data_if.py
+++ b/src/target/trx_toolkit/data_if.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# TRX Toolkit
diff --git a/src/target/trx_toolkit/data_msg.py
b/src/target/trx_toolkit/data_msg.py
index e946229..ebb7a0f 100644
--- a/src/target/trx_toolkit/data_msg.py
+++ b/src/target/trx_toolkit/data_msg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# -*- coding: utf-