Fix the crappy error handling in utils.run() - it doesn't work
at all right now, because no exceptions are thrown for a timeout

Move CmdResult class to utils.py - it has no business being under
hosts/ ... nothing to do with it.

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@995 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 2edc6b3..4b18504 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -337,7 +337,7 @@
 		#~ print "running %s" % (command,)
 		result= utils.run(r'%s "%s"' % (self.ssh_command(),
 						utils.sh_escape(command)),
-				  timeout, ignore_status)
+						timeout, ignore_status)
 		return result