[yum-cvs] yum cli.py,1.188,1.189

Seth Vidal skvidal at login.linux.duke.edu
Thu Jul 14 08:32:53 UTC 2005


Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv13033

Modified Files:
	cli.py 
Log Message:

obscure "broken depstring" case in remove by provides


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- cli.py	14 Jul 2005 08:28:58 -0000	1.188
+++ cli.py	14 Jul 2005 08:32:51 -0000	1.189
@@ -1040,7 +1040,12 @@
 
         if unmatched:
             for arg in unmatched:
-                depmatches = self.returnInstalledPackagesByDep(arg)
+                try:
+                    depmatches = self.returnInstalledPackagesByDep(arg)
+                except yum.Errors.YumBaseError, e:
+                    self.errorlog(0, _('%s') % e)
+                    continue
+                    
                 if not depmatches:
                     self.errorlog(0, _('No Match for argument: %s') % arg)
                 else:




More information about the Yum-cvs-commits mailing list