Skip to contentSkip to conversation

wic: code cleanup: bad indentation

PATCH New Ed Bartosh 1 participant 1 message Apr 7, 2015

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 wic: code cleanup: bad indentation

Fixed pylint warning 'Bad indentation'

---
 scripts/wic | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/wic +4 -4
index feff302..524156d 100755
@@ -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