[yum-git] yum/comps.py

Seth Vidal skvidal at linux.duke.edu
Thu May 15 21:13:05 UTC 2008


 yum/comps.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38ebd91b7080679f26ea27de76b744739f7408c7
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Thu May 15 17:05:32 2008 -0400

    we screwed up generating some earlier comps which made us have lang_only not langonly
    in the xml. To help cope with potential outstanding issues this created
    we're going to honor either in the incoming comps xml.

diff --git a/yum/comps.py b/yum/comps.py
index 1f266f4..1dc303e 100755
--- a/yum/comps.py
+++ b/yum/comps.py
@@ -147,7 +147,7 @@ class Group(object):
             elif child.tag == 'default':
                 self.default = parse_boolean(child.text)
     
-            elif child.tag == 'langonly': ## FIXME - what the hell is langonly?
+            elif child.tag in ['langonly', 'lang_only']: 
                 text = child.text
                 if self.langonly is not None:
                     raise CompsException



More information about the Yum-cvs-commits mailing list