forward env

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-12 23:01:41 +02:00
parent 6d87f4b917
commit 0a1418f4d3

View file

@ -94,7 +94,7 @@ class Remote(object):
cmd = self._exec.split()
cmd.append(self.target_host)
cmd.extend(command)
return self.run_command(cmd, env=None)
return self.run_command(cmd, env=env)
def run_command(self, command, env=None):
"""Run the given command with the given environment.