]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/decorator/__init__.py: use 'cls' instead of 'obj'
authorChen Qi <Qi.Chen@windriver.com>
Fri, 1 Jun 2018 05:03:01 +0000 (13:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Jun 2018 14:14:43 +0000 (15:14 +0100)
commite06e4c859e8be5225d80806a2ebe175f0b152fe1
tree3b2d97bb00066dd1ae8779c4511b1510ccd61cd2
parent28c4fafb2322ea8c37bcd7710f22f46ef552a902
oeqa/core/decorator/__init__.py: use 'cls' instead of 'obj'

Use 'cls' instead of 'obj' to better reflect that registerDecorator
actually serves as a class decorator.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/decorator/__init__.py