From cfd851970c2b9c776b05f6d579efd22e6bfe0ed5 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) (cherry picked from commit d50290764ea3fd7f7fafd1a10aedbe652689ac29) Signed-off-by: Peter Korsgaard --- 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