From: Khem Raj Date: Thu, 6 Dec 2018 05:31:28 +0000 (-0800) Subject: qe-ucode: Fix python indentation as per OE-Core style guidelines X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=refs%2Fpull%2F29%2Fhead;p=meta-freescale.git 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 Signed-off-by: Khem Raj --- 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 () {