From 1e045a5b5cbfce4f24335e8b968e40de95a4ce9f Mon Sep 17 00:00:00 2001 From: Hamid Date: Tue, 23 Mar 2021 17:40:05 +0000 Subject: [PATCH] Fixes LGTM analysis error : Unreachable statement --- base/fab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/fab.py b/base/fab.py index 5746f07c..37e0839a 100644 --- a/base/fab.py +++ b/base/fab.py @@ -1076,7 +1076,7 @@ def manual_sshpass(cmd): manual_command = " && ".join(commands) if not hasattr(env, "sshpass"): raise ValueError("sshpass value did not set for this remote machine") - sys.exit() + # sys.exit() pre_cmd = "sshpass -p '%(sshpass)s' ssh %(user)s@%(host)s " % env local(pre_cmd + "'" + manual_command + "'", capture=True)