From 3c60e0cf216994ea8a502744b2f915a2a48788f4 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 10 Sep 2025 07:37:23 -0500 Subject: [PATCH] tools: Remove unneeded future imports. Signed-off-by: Jeff Epler --- tools/file2h.py | 2 -- tools/insert-usb-ids.py | 2 -- tools/makemanifest.py | 1 - tools/manifestfile.py | 1 - tools/pydfu.py | 2 -- 5 files changed, 8 deletions(-) diff --git a/tools/file2h.py b/tools/file2h.py index 4607ab9279..293f18a9c4 100644 --- a/tools/file2h.py +++ b/tools/file2h.py @@ -5,8 +5,6 @@ # ; # This script simply prints the escaped string straight to stdout -from __future__ import print_function - import sys # Can either be set explicitly, or left blank to auto-detect diff --git a/tools/insert-usb-ids.py b/tools/insert-usb-ids.py index 177a68c4a4..bee285ad07 100644 --- a/tools/insert-usb-ids.py +++ b/tools/insert-usb-ids.py @@ -2,8 +2,6 @@ # inserts those values into the template file specified by sys.argv[2], # printing the result to stdout -from __future__ import print_function - import sys import re import string diff --git a/tools/makemanifest.py b/tools/makemanifest.py index e076a03e0b..860935397a 100644 --- a/tools/makemanifest.py +++ b/tools/makemanifest.py @@ -24,7 +24,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -from __future__ import print_function import sys import os import subprocess diff --git a/tools/manifestfile.py b/tools/manifestfile.py index beaa36d0f5..9c7a6e140f 100644 --- a/tools/manifestfile.py +++ b/tools/manifestfile.py @@ -25,7 +25,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -from __future__ import print_function import contextlib import os import sys diff --git a/tools/pydfu.py b/tools/pydfu.py index 8822b07bea..376c697cbd 100755 --- a/tools/pydfu.py +++ b/tools/pydfu.py @@ -11,8 +11,6 @@ See app note AN3156 for a description of the DFU protocol. See document UM0391 for a description of the DFuse file. """ -from __future__ import print_function - import argparse import collections import inspect