summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source/rawcopy.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:47:32 +0100
commit553f3322650235ff267627504bd49c3d04c1f39c (patch)
treea3a900e4ea82040c5cd0b88d1e733480d13009eb /scripts/lib/wic/plugins/source/rawcopy.py
parent928621368830aae4423cfcfb1bb3990b6ca83f13 (diff)
downloadpoky-553f3322650235ff267627504bd49c3d04c1f39c.tar.gz
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 (From OE-Core rev: cd7c72d6d5a5110173d0d3f60f2991b1dc30fc26) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/rawcopy.py')
-rw-r--r--scripts/lib/wic/plugins/source/rawcopy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py
index 444c0268fb..df07851751 100644
--- a/scripts/lib/wic/plugins/source/rawcopy.py
+++ b/scripts/lib/wic/plugins/source/rawcopy.py
@@ -25,7 +25,7 @@ class RawCopyPlugin(SourcePlugin):
25 name = 'rawcopy' 25 name = 'rawcopy'
26 26
27 @classmethod 27 @classmethod
28 def do_install_disk(self, disk, disk_name, cr, workdir, oe_builddir, 28 def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir,
29 bootimg_dir, kernel_dir, native_sysroot): 29 bootimg_dir, kernel_dir, native_sysroot):
30 """ 30 """
31 Called after all partitions have been prepared and assembled into a 31 Called after all partitions have been prepared and assembled into a
@@ -34,7 +34,7 @@ class RawCopyPlugin(SourcePlugin):
34 pass 34 pass
35 35
36 @classmethod 36 @classmethod
37 def do_configure_partition(self, part, source_params, cr, cr_workdir, 37 def do_configure_partition(cls, part, source_params, cr, cr_workdir,
38 oe_builddir, bootimg_dir, kernel_dir, 38 oe_builddir, bootimg_dir, kernel_dir,
39 native_sysroot): 39 native_sysroot):
40 """ 40 """
@@ -44,7 +44,7 @@ class RawCopyPlugin(SourcePlugin):
44 pass 44 pass
45 45
46 @classmethod 46 @classmethod
47 def do_prepare_partition(self, part, source_params, cr, cr_workdir, 47 def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
48 oe_builddir, bootimg_dir, kernel_dir, 48 oe_builddir, bootimg_dir, kernel_dir,
49 rootfs_dir, native_sysroot): 49 rootfs_dir, native_sysroot):
50 """ 50 """