summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/plugins/source/fsimage.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-17 14:25:23 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 11:38:16 +0100
commitcd7c72d6d5a5110173d0d3f60f2991b1dc30fc26 (patch)
tree07f389869448b6ce3618d86662e70ec9642fc244 /scripts/lib/wic/plugins/source/fsimage.py
parentd92cda72ef605bf2f45437667c1fc36c76629d47 (diff)
downloadopenembedded-core-cd7c72d6d5a5110173d0d3f60f2991b1dc30fc26.tar.gz
openembedded-core-cd7c72d6d5a5110173d0d3f60f2991b1dc30fc26.tar.bz2
openembedded-core-cd7c72d6d5a5110173d0d3f60f2991b1dc30fc26.zip
wic: Code cleanup: bad-classmethod-argument
Fixed wrong name for the first argument in class methods. Pylint complains about the issue this way: Class method should have 'cls' as first argument Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/plugins/source/fsimage.py')
-rw-r--r--scripts/lib/wic/plugins/source/fsimage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/fsimage.py b/scripts/lib/wic/plugins/source/fsimage.py
index ef56cf278b..cd59c6e87e 100644
--- a/scripts/lib/wic/plugins/source/fsimage.py
+++ b/scripts/lib/wic/plugins/source/fsimage.py
@@ -25,7 +25,7 @@ class FSImagePlugin(SourcePlugin):
name = 'fsimage'
@classmethod
- def do_install_disk(self, disk, disk_name, cr, workdir, oe_builddir,
+ def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir,
bootimg_dir, kernel_dir, native_sysroot):
"""
Called after all partitions have been prepared and assembled into a
@@ -34,7 +34,7 @@ class FSImagePlugin(SourcePlugin):
pass
@classmethod
- def do_configure_partition(self, part, source_params, cr, cr_workdir,
+ def do_configure_partition(cls, part, source_params, cr, cr_workdir,
oe_builddir, bootimg_dir, kernel_dir,
native_sysroot):
"""
@@ -44,7 +44,7 @@ class FSImagePlugin(SourcePlugin):
pass
@classmethod
- def do_prepare_partition(self, part, source_params, cr, cr_workdir,
+ def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
oe_builddir, bootimg_dir, kernel_dir,
rootfs_dir, native_sysroot):
"""