diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:31 +0100 |
commit | 791a3912d98014105bdb2a8585e4a1b7ae8120b1 (patch) | |
tree | bcfb06b795482f6113cfa6b5c967a0bbb9b4bc1c /scripts/lib/wic/pluginbase.py | |
parent | 14b47e22f9b2566320ab6ef103da1501bca129de (diff) | |
download | poky-791a3912d98014105bdb2a8585e4a1b7ae8120b1.tar.gz |
wic: fix short variable names
Made short variable names longer and more readable.
Fixed pylint warnings "Invalid variable name" and
"Invalid argument name".
(From OE-Core rev: 872cb0d5d79b26f34e6b35d7be8870d245021be4)
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/pluginbase.py')
-rw-r--r-- | scripts/lib/wic/pluginbase.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index 6d96de2be5..ee8fe95c6f 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py | |||
@@ -51,7 +51,7 @@ class SourcePlugin(_Plugin): | |||
51 | """ | 51 | """ |
52 | 52 | ||
53 | @classmethod | 53 | @classmethod |
54 | def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir, | 54 | def do_install_disk(cls, disk, disk_name, creator, workdir, oe_builddir, |
55 | bootimg_dir, kernel_dir, native_sysroot): | 55 | bootimg_dir, kernel_dir, native_sysroot): |
56 | """ | 56 | """ |
57 | Called after all partitions have been prepared and assembled into a | 57 | Called after all partitions have been prepared and assembled into a |
@@ -61,7 +61,7 @@ class SourcePlugin(_Plugin): | |||
61 | msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name) | 61 | msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name) |
62 | 62 | ||
63 | @classmethod | 63 | @classmethod |
64 | def do_stage_partition(cls, part, source_params, cr, cr_workdir, | 64 | def do_stage_partition(cls, part, source_params, creator, cr_workdir, |
65 | oe_builddir, bootimg_dir, kernel_dir, | 65 | oe_builddir, bootimg_dir, kernel_dir, |
66 | native_sysroot): | 66 | native_sysroot): |
67 | """ | 67 | """ |
@@ -78,7 +78,7 @@ class SourcePlugin(_Plugin): | |||
78 | msger.debug("SourcePlugin: do_stage_partition: part: %s" % part) | 78 | msger.debug("SourcePlugin: do_stage_partition: part: %s" % part) |
79 | 79 | ||
80 | @classmethod | 80 | @classmethod |
81 | def do_configure_partition(cls, part, source_params, cr, cr_workdir, | 81 | def do_configure_partition(cls, part, source_params, creator, cr_workdir, |
82 | oe_builddir, bootimg_dir, kernel_dir, | 82 | oe_builddir, bootimg_dir, kernel_dir, |
83 | native_sysroot): | 83 | native_sysroot): |
84 | """ | 84 | """ |
@@ -89,7 +89,7 @@ class SourcePlugin(_Plugin): | |||
89 | msger.debug("SourcePlugin: do_configure_partition: part: %s" % part) | 89 | msger.debug("SourcePlugin: do_configure_partition: part: %s" % part) |
90 | 90 | ||
91 | @classmethod | 91 | @classmethod |
92 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, | 92 | def do_prepare_partition(cls, part, source_params, creator, cr_workdir, |
93 | oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, | 93 | oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, |
94 | native_sysroot): | 94 | native_sysroot): |
95 | """ | 95 | """ |
@@ -99,9 +99,9 @@ class SourcePlugin(_Plugin): | |||
99 | msger.debug("SourcePlugin: do_prepare_partition: part: %s" % part) | 99 | msger.debug("SourcePlugin: do_prepare_partition: part: %s" % part) |
100 | 100 | ||
101 | def get_plugins(typen): | 101 | def get_plugins(typen): |
102 | ps = ImagerPlugin.get_plugins() | 102 | plugins = ImagerPlugin.get_plugins() |
103 | if typen in ps: | 103 | if typen in plugins: |
104 | return ps[typen] | 104 | return plugins[typen] |
105 | else: | 105 | else: |
106 | return None | 106 | return None |
107 | 107 | ||