From: Benjamin Poirier <poirier@google.com>
This patch makes some non-functional changes to comments in autoserv.
One is to add the documentation for the ignore_status option to run()
(in two places) the other is to fix a mix up of spaces.
git-svn-id: http://test.kernel.org/svn/autotest/trunk@630 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 21dad1a..05526f4 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -82,6 +82,8 @@
kill the running process. The run() function
will take a few seconds longer than 'timeout'
to complete if it has to kill the process.
+ ignore_status: do not raise an exception, no matter
+ what the exit code of the command is.
Returns:
a hosts.base_classes.CmdResult object
@@ -100,10 +102,10 @@
def reboot(self, timeout=600, label=None, kernel_args=None, wait=True):
"""
Reboot the remote host.
-
+
Args:
timeout
- """
+ """
if label or kernel_args:
self.bootloader.install_boottool()
if label: