[Buildroot] [git commit] support/scripts/pycompile: sort imports
Yann E. MORIN
yann.morin.1998 at free.fr
Wed Sep 9 19:20:40 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=4c77dca5503a40148ffbc177e5edd4cc6d093a0d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Robin Jarry <robin.jarry at 6wind.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
support/scripts/pycompile.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
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):
More information about the buildroot
mailing list