diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:25:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-26 22:42:00 +0000 |
commit | 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939 (patch) | |
tree | d19082aee83252afd998f387e4aeac78b9108c34 /meta/classes/gconf.bbclass | |
parent | 54c4b4fd10c104641bb7ae087b2230aa6c6085f8 (diff) | |
download | openembedded-core-contrib-2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939.tar.gz |
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses
directly to the data store object.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gconf.bbclass')
-rw-r--r-- | meta/classes/gconf.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass index f1645477825..c1dbbe30dce 100644 --- a/meta/classes/gconf.bbclass +++ b/meta/classes/gconf.bbclass @@ -45,7 +45,7 @@ python populate_packages_append () { schemas.append(f) if schemas != []: bb.note("adding gconf postinst and prerm scripts to %s" % pkg) - bb.data.setVar('SCHEMA_FILES', " ".join(schemas), d) + d.setVar('SCHEMA_FILES', " ".join(schemas)) postinst = d.getVar('pkg_postinst_%s' % pkg, 1) or d.getVar('pkg_postinst', 1) if not postinst: postinst = '#!/bin/sh\n' |