From 02f6684c1412bef32902ac4f7ffd1f41d33d1d44 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Fri, 5 Mar 2021 18:36:00 +1100 Subject: [PATCH] spelling mistake --- tes/apiendpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tes/apiendpoints.py b/tes/apiendpoints.py index bb28b1f..cb60d7d 100644 --- a/tes/apiendpoints.py +++ b/tes/apiendpoints.py @@ -231,7 +231,7 @@ def wrap_execute(sess, host, user, cmd, bastion=None,stdin=None, sshport="22", b except SshExecException as e: return apiabort(400, message="{}".format(e)) # Any other exceptions. This should never be reached. - except subprocess.TimedoutExpired as e: + except subprocess.TimeoutExpired as e: return apiabort(504, message="{}".format(e)) except Exception as e: import traceback -- GitLab