wic: code cleanup: bad indentation
PATCH 1/1 wic: code cleanup: bad indentation
Fixed pylint warning 'Bad indentation'
Signed-off-by Ed Bartosh <[email protected]>
--- scripts/wic | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/wic +4 -4
@@ -69,8 +69,8 @@ def callback_rootfs_dir(option, opt, value, parser): if '=' in value: (key, rootfs_dir) = value.split('=') else: - key = 'ROOTFS_DIR' - rootfs_dir = value + key = 'ROOTFS_DIR' + rootfs_dir = value parser.values.rootfs_dir[key] = rootfs_dir
@@ -207,8 +207,8 @@ def wic_create_subcommand(args, usage_str): krootfs_dir = options.rootfs_dir if krootfs_dir is None: - krootfs_dir = {} - krootfs_dir['ROOTFS_DIR'] = rootfs_dir + krootfs_dir = {} + krootfs_dir['ROOTFS_DIR'] = rootfs_dir rootfs_dir = rootfs_dir_to_args(krootfs_dir)
Signature · 1 line
2.1.4