From d50290764ea3fd7f7fafd1a10aedbe652689ac29 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 21 Sep 2021 23:04:38 +0200 Subject: [PATCH] utils/scanpypi: remove python2 compatibility imports ee8b680816 ("utils/scanpypi: use python3 explicitly") started to use python3, thus compatibility can be removed: from __future__ import print_function from __future__ import absolute_import Tested with python3 -m py_compile. Signed-off-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- utils/scanpypi | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/scanpypi b/utils/scanpypi index 9dede4e119..1f3326cf4d 100755 --- a/utils/scanpypi +++ b/utils/scanpypi @@ -6,8 +6,6 @@ Utility for building Buildroot packages for existing PyPI packages Any package built by scanpypi should be manually checked for errors. """ -from __future__ import print_function -from __future__ import absolute_import import argparse import json import sys -- 2.30.2