Patchwork [1/1] license.bbclass: fix indentation in python function

login
register
mail settings
Submitter Roxana
Date July 18, 2014, 12:41 p.m.
Message ID <a36a9c3d405abe05010fb260d909a5a135ea1ac2.1405687258.git.roxana.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/76067/
State Accepted
Commit 04e45f01e3ad69a4c8f2dcb99852001f076cc57a
Headers show

Comments

Roxana - July 18, 2014, 12:41 p.m.
If we don't fix this, the fix for bug 6502 will trigger warnings
that the write_package_manifest function contains tabs.

Related to fix for [YOCTO #6502].

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
---
 meta/classes/license.bbclass | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 08f0665..2a6e869 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -17,12 +17,12 @@  do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
 do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
 
 python write_package_manifest() {
-	# Get list of installed packages
-	license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
-	bb.utils.mkdirhier(license_image_dir)
-	from oe.rootfs import image_list_installed_packages
-	open(os.path.join(license_image_dir, 'package.manifest'),
-         'w+').write(image_list_installed_packages(d))
+    # Get list of installed packages
+    license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
+    bb.utils.mkdirhier(license_image_dir)
+    from oe.rootfs import image_list_installed_packages
+    open(os.path.join(license_image_dir, 'package.manifest'),
+        'w+').write(image_list_installed_packages(d))
 }
 
 license_create_manifest() {