Try to define a new dummy class object inherited from the given base 
instead of directly returning the base to fix a case where python 
would end up trying to inherit from the same base class twice.

Signed-off-by: Mihai Rusu <dizzy@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2627 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py
index 235dc41..a4221ee 100644
--- a/client/common_lib/utils.py
+++ b/client/common_lib/utils.py
@@ -833,6 +833,9 @@
         classobj = getattr(__import__(module, {}, {}, [short_module]),
                            classname)
     else:
-        classobj = baseclass
+        class dummy(baseclass):
+            pass
+
+        classobj = dummy
 
     return classobj