diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-05-13 17:56:36 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-06-01 16:59:06 +0100 |
commit | c9d8b4c132667c9eba92ac696047892e6f65e4cf (patch) | |
tree | 938cd5b39c89e48eea198f34466bb6809712ae08 /lorrycontroller/gitlab.py | |
parent | 8976b895d5c026c4976a6ddeabe8487f80940dd4 (diff) | |
download | lorry-controller-c9d8b4c132667c9eba92ac696047892e6f65e4cf.tar.gz |
gerrit: Shell-quote ssh command arguments
The Secure Shell protocol does not allow passing an argument vector,
only a command line that will be interpreted by a specific program
(usually a shell, but in this case Gerrit) on the remote host.
OpenSSH's ssh command simply concatenates the remote command arguments
with spaces between them, so we need to shell-quote them first.
Closes #8.
Diffstat (limited to 'lorrycontroller/gitlab.py')
0 files changed, 0 insertions, 0 deletions