Commit 03a3d749 by Adam Denenberg

updated connection.py to have the same interface for exec_command on both…

updated connection.py to have the same interface for exec_command on both LocalConnection and ParamikoConnection classes
parent ada9033a
......@@ -188,7 +188,7 @@ class LocalConnection(object):
return self
def exec_command(self, cmd, tmp_path, sudoable=False):
def exec_command(self, cmd, tmp_path,sudo_user,sudoable=False):
''' run a command on the local host '''
if self.runner.sudo and sudoable:
cmd = "sudo -s %s" % cmd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment