[yum-cvs] yum/yum comps.py,1.13,1.14

Jeremy Katz katzj at linux.duke.edu
Thu Jan 25 18:46:47 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv29865/yum

Modified Files:
	comps.py 
Log Message:
ignore bad package lines to avoid barrages like #224292


Index: comps.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/comps.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- comps.py	5 Dec 2006 20:45:10 -0000	1.13
+++ comps.py	25 Jan 2007 18:46:45 -0000	1.14
@@ -144,7 +144,8 @@
                     genre = u'mandatory'
 
                 if genre not in ('mandatory', 'default', 'optional', 'conditional'):
-                    raise CompsException
+                    # just ignore bad package lines
+                    continue
 
                 package = child.text
                 if genre == 'mandatory':




More information about the Yum-cvs-commits mailing list