diff options
-rw-r--r-- | meta/lib/oeqa/core/decorator/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/core/decorator/__init__.py b/meta/lib/oeqa/core/decorator/__init__.py index 6ca0acf353..14d7bfcd35 100644 --- a/meta/lib/oeqa/core/decorator/__init__.py +++ b/meta/lib/oeqa/core/decorator/__init__.py | |||
@@ -6,9 +6,9 @@ from abc import abstractmethod, ABCMeta | |||
6 | 6 | ||
7 | decoratorClasses = set() | 7 | decoratorClasses = set() |
8 | 8 | ||
9 | def registerDecorator(obj): | 9 | def registerDecorator(cls): |
10 | decoratorClasses.add(obj) | 10 | decoratorClasses.add(cls) |
11 | return obj | 11 | return cls |
12 | 12 | ||
13 | class OETestDecorator(object, metaclass=ABCMeta): | 13 | class OETestDecorator(object, metaclass=ABCMeta): |
14 | case = None # Reference of OETestCase decorated | 14 | case = None # Reference of OETestCase decorated |