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
Commit Message
@@ -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 () {
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(-)