utils/scanpypi: remove python2 compatibility imports
authorPetr Vorel <petr.vorel@gmail.com>
Tue, 21 Sep 2021 21:04:38 +0000 (23:04 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 22 Sep 2021 19:40:43 +0000 (21:40 +0200)
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 <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
utils/scanpypi

index 9dede4e11935705f1e4b50ffd6d0ff10464e1392..1f3326cf4d58e3d297c39331f92d4b5b90903039 100755 (executable)
@@ -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