[OE-core] [wic][PATCH] wic: code cleanup: bad indentation
Ed Bartosh
ed.bartosh at linux.intel.com
Tue Apr 7 11:29:25 UTC 2015
Fixed pylint warning 'Bad indentation'
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
scripts/wic | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/wic b/scripts/wic
index feff302..524156d 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -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)
--
2.1.4
More information about the Openembedded-core
mailing list