]> code.ossystems Code Review - meta-freescale.git/commitdiff
qe-ucode: Fix python indentation as per OE-Core style guidelines 29/head
authorKhem Raj <raj.khem@gmail.com>
Thu, 6 Dec 2018 05:31:28 +0000 (21:31 -0800)
committerKhem Raj <raj.khem@gmail.com>
Thu, 6 Dec 2018 05:31:28 +0000 (21:31 -0800)
Fixes parsing warnings e.g.
qe-ucode_git.bb: python should use 4 spaces indentation, but found tabs in qe-ucode_git.bb, line 14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes-bsp/qe-ucode/qe-ucode_git.bb

index fadd930001f92bb27463ba029d2d69918ce0d964..8239fc49b9a53911b45e9fcf5af8ca2a23444d65 100644 (file)
@@ -11,12 +11,12 @@ SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46"
 S = "${WORKDIR}/git"
 
 python () {
-       if not d.getVar("QE_UCODE", True):
-               PN = d.getVar("PN", True)
-               FILE = os.path.basename(d.getVar("FILE", True))
-               bb.debug(1, "To build %s, see %s for instructions on \
-                            setting up your qe-ucode" % (PN, FILE))
-               raise bb.parse.SkipRecipe("because QE_UCODE is not set")
+    if not d.getVar("QE_UCODE", True):
+        PN = d.getVar("PN", True)
+        FILE = os.path.basename(d.getVar("FILE", True))
+        bb.debug(1, "To build %s, see %s for instructions on \
+                     setting up your qe-ucode" % (PN, FILE))
+        raise bb.parse.SkipRecipe("because QE_UCODE is not set")
 }
 
 do_install () {