Patchwork mime.bbclass: fix typo

login
register
mail settings
Submitter Connor Abbott
Date Nov. 15, 2011, 4:16 a.m.
Message ID <1321330597-12119-1-git-send-email-cwabbott0@gmail.com>
Download mbox | patch
Permalink /patch/14981/
State Accepted
Commit e7090743df6b38e9ce73743b5bbdd8ab6e9cada4
Headers show

Comments

Connor Abbott - Nov. 15, 2011, 4:16 a.m.
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 <cwabbott0@gmail.com>
---
 meta/classes/mime.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - Nov. 15, 2011, 12:05 p.m.
On Mon, 2011-11-14 at 23:16 -0500, Connor Abbott wrote:
> 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 <cwabbott0@gmail.com>
> ---
>  meta/classes/mime.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
index 4a2ce8b..c349cdb 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))
 }