summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugin.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-04 16:06:17 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:13 +0100
commitdac0e809b71323318e0f6501a9f67c303438a236 (patch)
treefde7db3da2c2552aaeb80c57aebb91b083a5a204 /scripts/lib/wic/plugin.py
parent52ce79dcba4c161509a6cc3ee3afe5cd6a99d53f (diff)
downloadpoky-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.py2
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"]
29PLUGIN_DIR = "/lib/wic/plugins" # relative to scripts 29PLUGIN_DIR = "/lib/wic/plugins" # relative to scripts
30SCRIPTS_PLUGIN_DIR = "scripts" + PLUGIN_DIR 30SCRIPTS_PLUGIN_DIR = "scripts" + PLUGIN_DIR
31 31
32class PluginMgr(object): 32class PluginMgr():
33 plugin_dirs = {} 33 plugin_dirs = {}
34 34
35 # make the manager class as singleton 35 # make the manager class as singleton