]> code.ossystems Code Review - openembedded-core.git/commit
wic: reimplement getting paths of used tools
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 25 Aug 2017 20:12:22 +0000 (23:12 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Aug 2017 21:29:45 +0000 (22:29 +0100)
commitd1a831a9870bc31e936eb480485b28f1ffc13080
tree5c33730400080db9e17d9f7e6e9350bf6eccf987
parentdcceb90516efc77e4d0cddc3caf4e203ab9321d6
wic: reimplement getting paths of used tools

So far every used tool have to have separate property and
private attribute in the Disk class. This is too verbose,
considering that there will be much more tools used.

Reimplemented getting tools paths using custom __getattr__
method. This is much more compact and readable.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/engine.py