Commit 6f5ebb44 by Matt Martz

Fix syntax error in winrm

parent f9b56a5d
...@@ -153,7 +153,7 @@ class Connection(ConnectionBase): ...@@ -153,7 +153,7 @@ class Connection(ConnectionBase):
return self return self
def exec_command(self, cmd, tmp_path, executable='/bin/sh', in_data=None): def exec_command(self, cmd, tmp_path, executable='/bin/sh', in_data=None):
super(Connection, self).exec_command(cmd, tmp_path, executable=executable, in_data,in_data) super(Connection, self).exec_command(cmd, tmp_path, executable=executable, in_data=in_data)
cmd = cmd.encode('utf-8') cmd = cmd.encode('utf-8')
cmd_parts = shlex.split(cmd, posix=False) cmd_parts = shlex.split(cmd, posix=False)
......
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