diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-04 16:06:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:13 +0100 |
commit | dac0e809b71323318e0f6501a9f67c303438a236 (patch) | |
tree | fde7db3da2c2552aaeb80c57aebb91b083a5a204 /scripts/lib/wic/plugin.py | |
parent | 52ce79dcba4c161509a6cc3ee3afe5cd6a99d53f (diff) | |
download | poky-dac0e809b71323318e0f6501a9f67c303438a236.tar.gz |
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>
Diffstat (limited to 'scripts/lib/wic/plugin.py')
-rw-r--r-- | scripts/lib/wic/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py index 933647d7c7..83af9b05df 100644 --- a/scripts/lib/wic/plugin.py +++ b/scripts/lib/wic/plugin.py | |||
@@ -29,7 +29,7 @@ PLUGIN_TYPES = ["imager", "source"] | |||
29 | PLUGIN_DIR = "/lib/wic/plugins" # relative to scripts | 29 | PLUGIN_DIR = "/lib/wic/plugins" # relative to scripts |
30 | SCRIPTS_PLUGIN_DIR = "scripts" + PLUGIN_DIR | 30 | SCRIPTS_PLUGIN_DIR = "scripts" + PLUGIN_DIR |
31 | 31 | ||
32 | class PluginMgr(object): | 32 | class PluginMgr(): |
33 | plugin_dirs = {} | 33 | plugin_dirs = {} |
34 | 34 | ||
35 | # make the manager class as singleton | 35 | # make the manager class as singleton |