diff options
author | Sandro Cazzaniga <kharec@mageia.org> | 2013-07-07 09:56:55 +0000 |
---|---|---|
committer | Sandro Cazzaniga <kharec@mageia.org> | 2013-07-07 09:56:55 +0000 |
commit | 592ab87037b7a20cb7817e5a8db69fe301509bff (patch) | |
tree | 3278426361e7879d9a8016a64908329692f89120 /src | |
parent | bbe670aaa57f642352f4706b454627a2226b04b7 (diff) | |
download | msec-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-x | src/msec/compile.py | 6 |
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 |