diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 17:33:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 10:17:30 +0100 |
commit | 604d46c686d06d62d5a07b9c7f4fa170f99307d8 (patch) | |
tree | 67cdf024737b2248d5ea5d01ca001249f06a8792 /meta/recipes-connectivity | |
parent | 28715eff6dff3415b1d7b0be8cbb465c417e307f (diff) | |
download | openembedded-core-604d46c686d06d62d5a07b9c7f4fa170f99307d8.tar.gz openembedded-core-604d46c686d06d62d5a07b9c7f4fa170f99307d8.tar.bz2 openembedded-core-604d46c686d06d62d5a07b9c7f4fa170f99307d8.zip |
Convert tab indentation in python functions into four-space
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index bb6f5321ed..9966f879a6 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -96,20 +96,19 @@ RDEPENDS_${PN} = "\ PACKAGES_DYNAMIC = "${PN}-plugin-*" python populate_packages_prepend() { - depmap = dict( pppd="ppp", - ) - packages = [] - multilib_prefix = (d.getVar("MLPREFIX", True) or "") - hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) - plugin_dir = d.expand('${libdir}/connman/plugins/') - plugin_name = d.expand('${PN}-plugin-%s') - do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='', hook=hook, prepend=True ) - for (file, package) in packages: - plugintype = package.split( '-' )[-1] - if plugintype in depmap: - rdepends = map(lambda x: multilib_prefix + x, depmap[plugintype].split()) - bb.note( "Adding rdependency on %s to %s" % ( rdepends, package ) ) - d.setVar("RDEPENDS_%s" % package, " ".join(rdepends)) + depmap = dict(pppd="ppp") + packages = [] + multilib_prefix = (d.getVar("MLPREFIX", True) or "") + hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) + plugin_dir = d.expand('${libdir}/connman/plugins/') + plugin_name = d.expand('${PN}-plugin-%s') + do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='', hook=hook, prepend=True ) + for (file, package) in packages: + plugintype = package.split( '-' )[-1] + if plugintype in depmap: + rdepends = map(lambda x: multilib_prefix + x, depmap[plugintype].split()) + bb.note( "Adding rdependency on %s to %s" % ( rdepends, package ) ) + d.setVar("RDEPENDS_%s" % package, " ".join(rdepends)) } PACKAGES =+ "${PN}-tools ${PN}-tests" |