[Yum-devel] [PATCH] Write out the right Environment syntax (#856372)
Jesse Keating
jkeating at redhat.com
Tue Sep 11 23:01:42 UTC 2012
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
More information about the Yum-devel
mailing list