---
yum/repoMDObject.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/yum/repoMDObject.py b/yum/repoMDObject.py
index 31b1080..eb84123 100755
--- a/yum/repoMDObject.py
+++ b/yum/repoMDObject.py
@@ -226,12 +226,11 @@ class RepoMD:
tag = """ <repo>%s</repo>\n""" % (to_xml(item))
tags += tag
for (cpeid, item) in self.tags['distro']:
- itemlist = list(item) # frellingsets.
if cpeid:
tag = """ <distro cpeid="%s">%s</distro>\n""" % (
- to_xml(cpeid, attrib=True),
to_xml(itemlist[0]))
+ to_xml(cpeid, attrib=True), to_xml(item))
else:
- tag = """ <distro>%s</distro>\n""" %
(to_xml(itemlist[0]))
+ tag = """ <distro>%s</distro>\n""" % (to_xml(item))
tags += tag
tags += """ </tags>\n"""
msg += tags
--
1.7.4.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel