[yum-commits] Branch 'yum-3_2_X' - yum/repoMDObject.py
skvidal at osuosl.org
skvidal at osuosl.org
Fri Oct 8 15:55:49 UTC 2010
yum/repoMDObject.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit be8a2d2ae3ed3e2c748e7682309af47c2f1c6cd4
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri Oct 8 11:55:28 2010 -0400
handle the actual formatting of the distro tags properly
diff --git a/yum/repoMDObject.py b/yum/repoMDObject.py
index afc7947..31b1080 100755
--- a/yum/repoMDObject.py
+++ b/yum/repoMDObject.py
@@ -225,7 +225,7 @@ class RepoMD:
for item in self.tags['repo']:
tag = """ <repo>%s</repo>\n""" % (to_xml(item))
tags += tag
- for (cpeid, item) in self.tags['distro'].items():
+ for (cpeid, item) in self.tags['distro']:
itemlist = list(item) # frellingsets.
if cpeid:
tag = """ <distro cpeid="%s">%s</distro>\n""" % (
More information about the Yum-commits
mailing list