misc code cleanup, don't pass parameters to the connection object we can already get from Runner

This commit is contained in:
Michael DeHaan
2012-07-15 11:54:39 -04:00
parent 6341e75e33
commit 4b73931351
5 changed files with 43 additions and 50 deletions

View File

@@ -56,7 +56,7 @@ class SSHConnection(object):
return self
def exec_command(self, cmd, tmp_path,sudo_user,sudoable=False):
def exec_command(self, cmd, tmp_path, sudo_user,sudoable=False):
''' run a command on the remote host '''
ssh_cmd = ["ssh", "-tt", "-q"] + self.common_args + [self.host]