Fix wrong parent constructor call from UnhandledJobError.__init__
Signed-off-by: Gregory Smith <gps@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2558 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/error.py b/client/common_lib/error.py
index b37060b..a3ed4be 100644
--- a/client/common_lib/error.py
+++ b/client/common_lib/error.py
@@ -45,7 +45,7 @@
"""Indicates an unhandled error in a job."""
def __init__(self, unhandled_exception):
if isinstance(unhandled_exception, JobError):
- TestError.__init__(self, *unhandled_exception.args)
+ JobError.__init__(self, *unhandled_exception.args)
else:
msg = "Unhandled %s: %s"
msg %= (unhandled_exception.__class__.__name__,