X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8edbbf704c335418f8bc3f8c3174c4e662c6a7ec..bfffef69e1b0554d13eec920f1a32f75b49ceac6:/tools/tesh/tesh.py diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index f8e599026b..0db9022224 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -705,7 +705,7 @@ def main(): cmd.timeout = None else: try: - cmd.timeout = [int(line[len("! timeout "):])] + cmd.timeout = int(line[len("! timeout "):]) except ValueError as err: fatal_error("Invalid timeout value: \""+(line[len("! timeout "):])+"\"")