From: Petr Vorel Date: Tue, 21 Sep 2021 21:04:38 +0000 (+0200) Subject: utils/scanpypi: remove python2 compatibility imports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d50290764ea3fd7f7fafd1a10aedbe652689ac29;p=buildroot.git 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) --- 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