projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3025f
)
support/scripts/pycompile: sort imports
author
Robin Jarry
<robin.jarry@6wind.com>
Tue, 8 Sep 2020 08:10:24 +0000
(10:10 +0200)
committer
Yann E. MORIN
<yann.morin.1998@free.fr>
Wed, 9 Sep 2020 19:20:40 +0000
(21:20 +0200)
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/scripts/pycompile.py
patch
|
blob
|
history
diff --git
a/support/scripts/pycompile.py
b/support/scripts/pycompile.py
index fb1a12b2b782d434a159e0a7d5760428a98f992a..b713fe19323cfbd32339ba4bbfae47c51db3ee05 100644
(file)
--- 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):