Skip to contentSkip to conversation

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

PATCH New Khem Raj 1 participant 1 message Dec 6, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

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

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

---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
recipes-bsp/qe-ucode/qe-ucode_git.bb +6 -6
index fadd9300..8239fc49 100644
@@ -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 () {
Signature · 1 line
2.19.2