[oe-commits] Roxana Ciobanu : license.bbclass: fix indentation in python function
git at git.openembedded.org
git at git.openembedded.org
Fri Jul 18 13:36:34 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: b41deb4b4817292dc56ce4327f6b99e00950d679
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b41deb4b4817292dc56ce4327f6b99e00950d679
Author: Roxana Ciobanu <roxana.ciobanu at intel.com>
Date: Fri Jul 18 15:41:34 2014 +0300
license.bbclass: fix indentation in python function
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/license.bbclass | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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() {
More information about the Openembedded-commits
mailing list