From: Robin Jarry Date: Tue, 8 Sep 2020 08:10:24 +0000 (+0200) Subject: support/scripts/pycompile: sort imports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c77dca5503a40148ffbc177e5edd4cc6d093a0d;p=buildroot.git support/scripts/pycompile: sort imports Signed-off-by: Robin Jarry Signed-off-by: Yann E. MORIN --- diff --git a/support/scripts/pycompile.py b/support/scripts/pycompile.py index fb1a12b2b7..b713fe1932 100644 --- a/support/scripts/pycompile.py +++ b/support/scripts/pycompile.py @@ -6,11 +6,13 @@ when a python byte code generation failed. Inspired from: http://stackoverflow.com/questions/615632/how-to-detect-errors-from-compileall-compile-dir ''' + from __future__ import print_function -import sys -import py_compile -import compileall + import argparse +import compileall +import py_compile +import sys def check_for_errors(comparison):