mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
14b47e22f9
commit
791a3912d9
+2
-2
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user