From e33c835564736abec9fea50d7640f76443e3ba99 Mon Sep 17 00:00:00 2001 From: Matthew Mets Date: Wed, 11 Jan 2023 14:04:14 +0100 Subject: [PATCH] Update shebangs to comply with PEP 394 Change the python scripts to call python instead of python3, as this works cross platform. See: https://peps.python.org/pep-0394/#for-python-script-publishers --- hw/boards/mta1-usb-v1/test/connected_test.py | 2 +- hw/boards/mta1-usb-v1/test/connected_test_gui.py | 2 +- hw/boards/mta1-usb-v1/test/encode_usb_strings.py | 2 +- hw/boards/mta1-usb-v1/test/production_test.py | 2 +- hw/boards/mta1-usb-v1/test/reset.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/boards/mta1-usb-v1/test/connected_test.py b/hw/boards/mta1-usb-v1/test/connected_test.py index fccc311..959c324 100755 --- a/hw/boards/mta1-usb-v1/test/connected_test.py +++ b/hw/boards/mta1-usb-v1/test/connected_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import hid_test def import_pins(pin_filename): diff --git a/hw/boards/mta1-usb-v1/test/connected_test_gui.py b/hw/boards/mta1-usb-v1/test/connected_test_gui.py index 5da5b0d..f971ce7 100755 --- a/hw/boards/mta1-usb-v1/test/connected_test_gui.py +++ b/hw/boards/mta1-usb-v1/test/connected_test_gui.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python import tkinter as tk from tkinter import filedialog as fd from tkinter.messagebox import askyesno diff --git a/hw/boards/mta1-usb-v1/test/encode_usb_strings.py b/hw/boards/mta1-usb-v1/test/encode_usb_strings.py index 98d342a..7475292 100755 --- a/hw/boards/mta1-usb-v1/test/encode_usb_strings.py +++ b/hw/boards/mta1-usb-v1/test/encode_usb_strings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python manufacturer = 'Mullvad' product = 'MTA1-USB-V1' diff --git a/hw/boards/mta1-usb-v1/test/production_test.py b/hw/boards/mta1-usb-v1/test/production_test.py index 9402c61..a25ed42 100755 --- a/hw/boards/mta1-usb-v1/test/production_test.py +++ b/hw/boards/mta1-usb-v1/test/production_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import hid_test import time import numpy diff --git a/hw/boards/mta1-usb-v1/test/reset.py b/hw/boards/mta1-usb-v1/test/reset.py index bd23fdc..6d8331f 100755 --- a/hw/boards/mta1-usb-v1/test/reset.py +++ b/hw/boards/mta1-usb-v1/test/reset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import hid_test import time