qe-ucode: Fix python indentation as per OE-Core style guidelines

Submitted by Khem Raj on Dec. 6, 2018, 5:32 a.m. | Patch ID: 156949

Details

Message ID 20181206053229.36049-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Dec. 6, 2018, 5:32 a.m.
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 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch hide | download patch | download mbox

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index fadd9300..8239fc49 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -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 () {