Skip to content

Commit

Permalink
Fixes LGTM analysis error : Unreachable statement
Browse files Browse the repository at this point in the history
  • Loading branch information
arabnejad committed Mar 23, 2021
1 parent a5e7d06 commit 1e045a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/fab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1e045a5

Please sign in to comment.