[oe-commits] Ed Bartosh : wic: code cleanup: bad indentation

git at git.openembedded.org git at git.openembedded.org
Wed Apr 8 22:12:15 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: ee71acc6f114f992a2edc9a3f557a731795aa076
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ee71acc6f114f992a2edc9a3f557a731795aa076

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