X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/63fcd7898f904b41068f535bbadac567ab607ec5..d68e1c39ec0832cb2391aedd17a868c597dd399e:/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 "):])+"\"")