From e7090743df6b38e9ce73743b5bbdd8ab6e9cada4 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 14 Nov 2011 23:16:37 -0500 Subject: mime.bbclass: fix typo Before this patch, nautilus would fail with: ERROR: Error executing a python function in /home/connor/angstrom/sources/meta-openembedded/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb: NameError: global name 'dgetVar' is not defined Signed-off-by: Connor Abbott Signed-off-by: Richard Purdie --- meta/classes/mime.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass index 4a2ce8bd2a..c349cdb6f7 100644 --- a/meta/classes/mime.bbclass +++ b/meta/classes/mime.bbclass @@ -52,7 +52,7 @@ python populate_packages_append () { postrm += d.getVar('mime_postrm', True) d.setVar('pkg_postrm_%s' % pkg, postrm) bb.note("adding shared-mime-info-data dependency to %s" % pkg) - rdepends = explode_deps(dgetVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" + rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" rdepends.append("shared-mime-info-data") d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) } -- cgit v1.2.3