summaryrefslogtreecommitdiff
path: root/meta/classes/packagedata.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/packagedata.bbclass')
-rw-r--r--meta/classes/packagedata.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/packagedata.bbclass b/meta/classes/packagedata.bbclass
index bf051feea..9c7aede3b 100644
--- a/meta/classes/packagedata.bbclass
+++ b/meta/classes/packagedata.bbclass
@@ -1,13 +1,13 @@
python read_subpackage_metadata () {
import oe.packagedata
- data = oe.packagedata.read_pkgdata(bb.data.getVar('PN', d, 1), d)
+ data = oe.packagedata.read_pkgdata(d.getVar('PN', 1), d)
for key in data.keys():
- bb.data.setVar(key, data[key], d)
+ d.setVar(key, data[key])
- for pkg in bb.data.getVar('PACKAGES', d, 1).split():
+ for pkg in d.getVar('PACKAGES', 1).split():
sdata = oe.packagedata.read_subpkgdata(pkg, d)
for key in sdata.keys():
- bb.data.setVar(key, sdata[key], d)
+ d.setVar(key, sdata[key])
}