diff options
-rw-r--r-- | meta/lib/oeqa/controllers/testtargetloader.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/controllers/testtargetloader.py b/meta/lib/oeqa/controllers/testtargetloader.py index a1b7b1d92b..b51d04b213 100644 --- a/meta/lib/oeqa/controllers/testtargetloader.py +++ b/meta/lib/oeqa/controllers/testtargetloader.py | |||
@@ -61,8 +61,6 @@ class TestTargetLoader: | |||
61 | obj = getattr(module, target) | 61 | obj = getattr(module, target) |
62 | if obj: | 62 | if obj: |
63 | from oeqa.targetcontrol import BaseTarget | 63 | from oeqa.targetcontrol import BaseTarget |
64 | if (not isinstance(obj, (type, types.ClassType))): | ||
65 | bb.warn("Target {0} found, but not of type Class".format(target)) | ||
66 | if( not issubclass(obj, BaseTarget)): | 64 | if( not issubclass(obj, BaseTarget)): |
67 | bb.warn("Target {0} found, but subclass is not BaseTarget".format(target)) | 65 | bb.warn("Target {0} found, but subclass is not BaseTarget".format(target)) |
68 | except: | 66 | except: |