A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Catch specific exceptions in python scripts.
[simgrid.git]
/
tools
/
tesh
/
tesh.py
diff --git
a/tools/tesh/tesh.py
b/tools/tesh/tesh.py
index
c9cd570
..
1faee7f
100755
(executable)
--- a/
tools/tesh/tesh.py
+++ b/
tools/tesh/tesh.py
@@
-410,7
+410,7
@@
if __name__ == '__main__':
try:
options = parser.parse_args()
- except:
+ except
SystemExit
:
tesh_exit(1)
if options.cd is not None: