[oe-commits] Ed Bartosh : wic: code cleanup: bad indentation
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 8 10:08:40 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: f9e678bf4a4f2c78ae5a7a63efc577d231ace2e8
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f9e678bf4a4f2c78ae5a7a63efc577d231ace2e8
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date: Tue Apr 7 14:29:25 2015 +0300
wic: code cleanup: bad indentation
Fixed pylint warning 'Bad indentation'
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/wic | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/wic b/scripts/wic
index e7df60f..ce78254 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)
More information about the Openembedded-commits
mailing list