summaryrefslogtreecommitdiff
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-07 14:29:25 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 23:11:07 +0100
commitee71acc6f114f992a2edc9a3f557a731795aa076 (patch)
treea8d399c6ca102018d76ff1e635a70cc75d5daeb0 /scripts/wic
parenta915adfd1eaad9a0d65dffe9da92811284e491c8 (diff)
downloadopenembedded-core-ee71acc6f114f992a2edc9a3f557a731795aa076.tar.gz
openembedded-core-ee71acc6f114f992a2edc9a3f557a731795aa076.tar.bz2
openembedded-core-ee71acc6f114f992a2edc9a3f557a731795aa076.zip
wic: code cleanup: bad indentation
Fixed pylint warning 'Bad indentation' 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-xscripts/wic8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/wic b/scripts/wic
index e7df60f28e..ce78254d67 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -65,8 +65,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
@@ -189,8 +189,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)