mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
wic: don't inherit classes from object
All classes in Python3 are new style classes and don't need to be inherited from object. Wic code works fine without this inheritance even with Python2, so it's harmless to remove it. [YOCTO #9412] (From OE-Core rev: a146b03ee7d0aa5bc1722da5977a5952782b69bf) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
52ce79dcba
commit
dac0e809b7
@@ -29,7 +29,7 @@ PLUGIN_TYPES = ["imager", "source"]
|
||||
PLUGIN_DIR = "/lib/wic/plugins" # relative to scripts
|
||||
SCRIPTS_PLUGIN_DIR = "scripts" + PLUGIN_DIR
|
||||
|
||||
class PluginMgr(object):
|
||||
class PluginMgr():
|
||||
plugin_dirs = {}
|
||||
|
||||
# make the manager class as singleton
|
||||
|
||||
Reference in New Issue
Block a user