summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/ksparser.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-04 16:06:21 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:13 +0100
commit5fedb5d3cc8d6ff9e9e378bbda45345a6b867cd4 (patch)
tree61ccb9a9801f31fa783a0f7521dc03713eaaf53f /scripts/lib/wic/ksparser.py
parentd4ded7fcb159e55134b7612dbdc928613c7321c6 (diff)
downloadpoky-5fedb5d3cc8d6ff9e9e378bbda45345a6b867cd4.tar.gz
wic: refactor pluginbase
Wic plugin machinery implemented using metaclasses. Reimplemented plugin machinery using this advice from https://wiki.python.org/moin/PortingToPy3k/BilingualQuickRef Syntax for creating instances with different metaclasses is very different between Python 2 and 3. Use the ability to call type instances as a way to portably create such instances. Now it should work under both Python 2 and Python 3. [YOCTO #9412] (From OE-Core rev: e62fe5a41bdcdd72b9b257fecff7ccdc59c76d33) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
0 files changed, 0 insertions, 0 deletions