Ensure all AutoservRunErrors are constructed with a tuple of two objects, as expected. Also change AutoservRunError's docstring to reflect this requirement. Fixed up some formatting in run_grep while I was at it.
From: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1168 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 40ac670..f02beba 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -189,7 +189,7 @@
if not pid:
__nuke_subprocess(subproc)
raise AutoservRunError('Command not complete within %s seconds'
- % timeout)
+ % timeout, None)
def run(command, timeout=None, ignore_status=False,