[Buildroot] [git commit branch/2020.05.x] support/scripts/pycompile: sort imports

Peter Korsgaard peter at korsgaard.com
Tue Sep 15 18:05:29 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=2bbdd246fc77c50887eb31ecbec84a9088430c9c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.05.x

Signed-off-by: Robin Jarry <robin.jarry at 6wind.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 4c77dca5503a40148ffbc177e5edd4cc6d093a0d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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