Fixes the original fix by prepending the module name to the
exception we're catching.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@928 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 39e93ab..d7cdb7a 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -578,7 +578,7 @@
print "Performing a hardreset on %s" % self.hostname
try:
self.hardreset()
- except AutoservUnsupportedError:
+ except errors.AutoservUnsupportedError:
print "Hardreset is unsupported on %s" % self.hostname
if not self.wait_up(60 * 30):
# 30 minutes should be more than enough