summaryrefslogtreecommitdiff
path: root/meta/classes/distutils-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distutils-base.bbclass')
-rw-r--r--meta/classes/distutils-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index e84b0fcc5a..e7d0bb8071 100644
--- a/meta/classes/distutils-base.bbclass
+++ b/meta/classes/distutils-base.bbclass
@@ -1,4 +1,4 @@
-DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
+DEPENDS += "${@["python-native python", ""][(d.getVar('PACKAGES', 1) == '')]}"
RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}"
inherit distutils-common-base