Commit 2a0f9372 authored by Michael Hanselmann's avatar Michael Hanselmann

Fix build errors with ganeti-listrunner

- Remove non-ASCII character from manpage
- Reformat docstring for epydoc in script

These caused build breakage on some but not all distributions.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 2466c0fd
...@@ -30,7 +30,7 @@ authentication or Kerberos authentication is not available. ...@@ -30,7 +30,7 @@ authentication or Kerberos authentication is not available.
It can run either a command or a script (which gets uploaded first and deleted It can run either a command or a script (which gets uploaded first and deleted
after execution) on a list of hosts provided either via a file (one host per after execution) on a list of hosts provided either via a file (one host per
line) or as a comma-separated list on the commandline. The output (stdout and line) or as a comma-separated list on the commandline. The output (stdout and
stderr are merged) of the remote execution is written to a logfile. One logfile stderr are merged) of the remote execution is written to a logfile. One logfile
per host is written. per host is written.
......
...@@ -354,15 +354,14 @@ def HostWorker(logdir, username, password, keys, hostname, ...@@ -354,15 +354,14 @@ def HostWorker(logdir, username, password, keys, hostname,
which exit at the end of this function. The exit code 0 or 1 will be which exit at the end of this function. The exit code 0 or 1 will be
interpreted by the parent. interpreted by the parent.
Args: @param logdir: the directory where the logfiles must be created
logdir: the directory where the logfiles must be created @param username: SSH username
username: SSH username @param password: SSH password
password: SSH password @param keys: SSH keys
keys: SSH keys @param hostname: the hostname to connect to
hostname: the hostname to connect to @param executable: the executable to upload, if not None
executable: the executable to upload, if not None @param command: the command to run
command: the command to run @param filelist: auxiliary files to upload
filelist: auxiliary files to upload
""" """
# in the child/worker process # in the child/worker process
......
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