Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [wic][PATCH] wic: code cleanup: bad indentation
Date: Tue,  7 Apr 2015 14:29:25 +0300	[thread overview]
Message-ID: <1428406165-20618-1-git-send-email-ed.bartosh@linux.intel.com> (raw)

Fixed pylint warning 'Bad indentation'

Signed-off-by: Ed Bartosh <ed.bartosh@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



                 reply	other threads:[~2015-04-07 11:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428406165-20618-1-git-send-email-ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox