diff options
author | Roxana Ciobanu <roxana.ciobanu@intel.com> | 2014-07-18 15:41:34 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-19 00:08:46 +0100 |
commit | 6d93be5338ca301caafbcd44bfe3da08c05610ec (patch) | |
tree | 02cc1be67b3e1963b9d8e7bf28c628bf221139b2 /meta/classes | |
parent | 1838153de3a68ac391bdec139446e496ad093763 (diff) | |
download | openembedded-core-6d93be5338ca301caafbcd44bfe3da08c05610ec.tar.gz openembedded-core-6d93be5338ca301caafbcd44bfe3da08c05610ec.tar.bz2 openembedded-core-6d93be5338ca301caafbcd44bfe3da08c05610ec.zip |
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/license.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 08f0665e7d..2a6e869736 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() { |