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-02 23:46:52 +0100 |
commit | 872cb0d5d79b26f34e6b35d7be8870d245021be4 (patch) | |
tree | 37cc334e9769e40e1df60e777e934ee7a404282f /scripts/wic | |
parent | af0a6d547a5a3efefdd4900f7079dfd10b85342d (diff) | |
download | openembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.tar.gz openembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.tar.bz2 openembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.zip |
wic: fix short variable names
Made short variable names longer and more readable.
Fixed pylint warnings "Invalid variable name" and
"Invalid argument name".
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/wic b/scripts/wic index eb252a26ef..7ad2b191c6 100755 --- a/scripts/wic +++ b/scripts/wic @@ -62,9 +62,9 @@ def rootfs_dir_to_args(krootfs_dir): Get a rootfs_dir dict and serialize to string """ rootfs_dir = '' - for k, v in krootfs_dir.items(): + for key, val in krootfs_dir.items(): rootfs_dir += ' ' - rootfs_dir += '='.join([k, v]) + rootfs_dir += '='.join([key, val]) return rootfs_dir.strip() def callback_rootfs_dir(option, opt, value, parser): |