]> 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, 2 Jul 2018 09:40:34 +0000 (10:40 +0100)
commit9daf742004f4256bcb429165cfbf8dfc735a9686
tree67d57ac88c965af7dc1afc4f50d499945f7c6f99
parent8c3a8c5d9fb31edbc37d8239c4cf5312a815a344
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.

(From OE-Core rev: e06e4c859e8be5225d80806a2ebe175f0b152fe1)

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