From 48619958d53cbec888a0a6806c5e494291e9e227 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Aug 2012 16:52:21 +0000 Subject: meta/classes: Various python whitespace fixes It was pointed out we have a number of weird indentations in the python functions. This patch cleans up 3, 7 and other weird indentations for the core bbclass files. It also fixes some wierd (odd) shell function indentation which my searches picked up. (From OE-Core rev: 8385d6d74624000d68814f4e3266d47bc8885942) Signed-off-by: Richard Purdie --- meta/classes/grub-efi.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/classes/grub-efi.bbclass') diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 147accc895..a093628455 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -54,12 +54,12 @@ python build_grub_cfg() { if not workdir: bb.error("WORKDIR not defined, unable to package") return - + labels = d.getVar('LABELS', True) if not labels: bb.debug(1, "LABELS not defined, nothing to do") return - + if labels == []: bb.debug(1, "No labels, nothing to do") return @@ -109,7 +109,7 @@ python build_grub_cfg() { if append: cfgfile.write('%s' % (append)) cfgfile.write('\n') - + if initrd: cfgfile.write('initrd /initrd') cfgfile.write('\n}\n') -- cgit v1.2.3-54-g00ecf