summaryrefslogtreecommitdiffstats
path: root/meta/classes/mime.bbclass
diff options
context:
space:
mode:
authorSamuel Stirtzel <s.stirtzel@googlemail.com>2012-03-06 09:03:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 11:55:37 -0800
commitd4d74610f2557bf8a9e93805c994fe9fa467eb14 (patch)
tree498ffa9dbdabe02026cf71f4781b902b4604ff14 /meta/classes/mime.bbclass
parentb417983f75e72b69bf85db5fef00a8198d29ceeb (diff)
downloadpoky-d4d74610f2557bf8a9e93805c994fe9fa467eb14.tar.gz
mime.bbclass: Fix bracket error.
This fixes the following error: ERROR: Error executing a python function in ...: AttributeError: 'str' object has no attribute 'append' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "populate_packages", line 193, in <module> ERROR: ERROR: File "populate_packages", line 189, in populate_packages ERROR: ERROR: The code that was being executed was: ERROR: 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: *** 0193:populate_packages(d) ERROR: 0194: ERROR: (file: 'populate_packages', lineno: 193, function: <module>) ERROR: 0185: postrm += d.getVar('mime_postrm', True) ERROR: 0186: d.setVar('pkg_postrm_%s' % pkg, postrm) ERROR: 0187: bb.note("adding shared-mime-info-data dependency to %s" % pkg) ERROR: 0188: rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" ERROR: *** 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: 0193:populate_packages(d) (From OE-Core rev: 043abe4e88abb6754909b93129ea162a577aa828) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/mime.bbclass')
-rw-r--r--meta/classes/mime.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
index dcdc27a74c..6302747dc1 100644
--- a/meta/classes/mime.bbclass
+++ b/meta/classes/mime.bbclass
@@ -54,7 +54,7 @@ python populate_packages_append () {
54 postrm += d.getVar('mime_postrm', True) 54 postrm += d.getVar('mime_postrm', True)
55 d.setVar('pkg_postrm_%s' % pkg, postrm) 55 d.setVar('pkg_postrm_%s' % pkg, postrm)
56 bb.note("adding shared-mime-info-data dependency to %s" % pkg) 56 bb.note("adding shared-mime-info-data dependency to %s" % pkg)
57 rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" 57 rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "" )
58 rdepends.append("shared-mime-info-data") 58 rdepends.append("shared-mime-info-data")
59 d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) 59 d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
60} 60}