[yum-cvs] yum cli.py,1.261,1.262

Seth Vidal skvidal at linux.duke.edu
Sun Apr 8 03:55:06 UTC 2007


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

Modified Files:
	cli.py 
Log Message:

fix for rh bug: 235572 - merged up from 3.0.X


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -r1.261 -r1.262
--- cli.py	6 Apr 2007 13:06:03 -0000	1.261
+++ cli.py	8 Apr 2007 03:55:04 -0000	1.262
@@ -452,7 +452,8 @@
                 except yum.Errors.YumBaseError, e:
                     self.logger.critical(_('No Match for argument: %s') % arg)
                 else:
-                    for mypkg in mypkgs:
+                    mybestpkgs = self.bestPackagesFromList(mypkgs)
+                    for mypkg in mybestpkgs:
                         if self._installable(mypkg, True):
                             self.verbose_logger.log(yum.logginglevels.DEBUG_3,
                                     'Solving package %s is installable, not going through the rest', mypkg)




More information about the Yum-cvs-commits mailing list