aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSandro Cazzaniga <kharec@mageia.org>2013-07-07 09:56:55 +0000
committerSandro Cazzaniga <kharec@mageia.org>2013-07-07 09:56:55 +0000
commit592ab87037b7a20cb7817e5a8db69fe301509bff (patch)
tree3278426361e7879d9a8016a64908329692f89120 /src
parentbbe670aaa57f642352f4706b454627a2226b04b7 (diff)
downloadmsec-592ab87037b7a20cb7817e5a8db69fe301509bff.tar
msec-592ab87037b7a20cb7817e5a8db69fe301509bff.tar.gz
msec-592ab87037b7a20cb7817e5a8db69fe301509bff.tar.bz2
msec-592ab87037b7a20cb7817e5a8db69fe301509bff.tar.xz
msec-592ab87037b7a20cb7817e5a8db69fe301509bff.zip
Prevent from failed compilations
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/compile.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/msec/compile.py b/src/msec/compile.py
index f3bec02..b85e3f9 100755
--- a/src/msec/compile.py
+++ b/src/msec/compile.py
@@ -12,6 +12,10 @@ import py_compile
import sys
for f in sys.argv[2:]:
- py_compile.compile(f, f+"o", sys.argv[1] + f)
+ try:
+ py_compile.compile(f, f+"o", sys.argv[1] + f)
+ except:
+ print("Cannot compile", f)
+ pass
# compile.py ends here