The comps input has it as <groupid> not as <optionid>, and since it
refers to a group, by ID, it makes sense to use <groupid> as the
element tag.
---
yum/comps.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yum/comps.py b/yum/comps.py
index 08e66b9..4e765ef 100755
--- a/yum/comps.py
+++ b/yum/comps.py
@@ -407,7 +407,7 @@ class Environment(CompsObj):
msg += """ </grouplist>\n"""
msg += """ <optionlist>\n"""
for grp in self.options:
- msg += """ <optionid>%s</optionid>\n""" % grp
+ msg += """ <groupid>%s</groupid>\n""" % grp
msg += """ </optionlist>\n"""
msg += """ </environment>\n"""
--
1.7.11.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel