git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20337c
)
oe.packagegroup: fix python version compat issue
author
Chris Larson
<chris_larson@mentor.com>
Sun, 10 Oct 2010 15:40:17 +0000
(08:40 -0700)
committer
Chris Larson
<chris_larson@mentor.com>
Sun, 10 Oct 2010 15:40:17 +0000
(08:40 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/oe/packagegroup.py
patch
|
blob
|
history
diff --git
a/lib/oe/packagegroup.py
b/lib/oe/packagegroup.py
index
7371fa7
..
b04c45a
100644
(file)
--- a/
lib/oe/packagegroup.py
+++ b/
lib/oe/packagegroup.py
@@
-4,8
+4,9
@@
def is_optional(group, d):
return bool(d.getVarFlag("PACKAGE_GROUP_%s" % group, "optional"))
def packages(groups, d):
- return itertools.chain.from_iterable(d.getVar("PACKAGE_GROUP_%s" % group, True).split()
- for group in groups)
+ for group in groups:
+ for pkg in (d.getVar("PACKAGE_GROUP_%s" % group, True) or "").split():
+ yield pkg
def required_packages(groups, d):
req = filter(lambda group: not is_optional(group, d), groups)