[yum-cvs] yum/comps.py
Seth Vidal
skvidal at linux.duke.edu
Fri Aug 24 16:02:24 UTC 2007
yum/comps.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 525dc63a8954707aabe77d57599aa1b321f5e355
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri Aug 24 12:00:46 2007 -0400
make groupinfo work when the description is empty
diff --git a/yum/comps.py b/yum/comps.py
index 625d75e..2cc6cc5 100755
--- a/yum/comps.py
+++ b/yum/comps.py
@@ -113,7 +113,8 @@ class Group(object):
if lang:
self.translated_description[lang] = text
else:
- self.description = text
+ if text:
+ self.description = text
elif child.tag == 'uservisible':
self.user_visible = parse_boolean(child.text)
More information about the Yum-cvs-commits
mailing list