summaryrefslogtreecommitdiff
path: root/scripts/lib/scriptpath.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 07:26:42 +0100
commite62fe5a41bdcdd72b9b257fecff7ccdc59c76d33 (patch)
tree33cde5590311efb20085fc4b912e1cf806374165 /scripts/lib/scriptpath.py
parenteb87d591ef67f1953b2689430ef6c5a6a27a5b6e (diff)
downloadopenembedded-core-e62fe5a41bdcdd72b9b257fecff7ccdc59c76d33.tar.gz
openembedded-core-e62fe5a41bdcdd72b9b257fecff7ccdc59c76d33.tar.bz2
openembedded-core-e62fe5a41bdcdd72b9b257fecff7ccdc59c76d33.zip
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] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions