From: Martin Quinson Date: Wed, 15 Nov 2023 22:08:33 +0000 (+0100) Subject: stop being a stupidly rushing boar (hopefuly) X-Git-Tag: v3.35~40 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bfffef69e1b0554d13eec920f1a32f75b49ceac6 stop being a stupidly rushing boar (hopefuly) --- 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 "):])+"\"")