[yum-cvs] yum cli.py,1.252,1.253

Seth Vidal skvidal at linux.duke.edu
Wed Feb 7 06:05:36 UTC 2007


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

Modified Files:
	cli.py 
Log Message:

fix yum deplist to work with new matchPackageNames method


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- cli.py	6 Feb 2007 15:08:33 -0000	1.252
+++ cli.py	7 Feb 2007 06:05:34 -0000	1.253
@@ -817,8 +817,8 @@
         
         for arg in args:
             pkgs = []
-            pogen = self.pkgSack.matchPackageNames(arg)
-            for po in pogen:
+            ematch, match, unmatch = self.pkgSack.matchPackageNames([arg])
+            for po in ematch + match:
                 pkgs.append(po)
                 
             results = self.findDeps(pkgs)




More information about the Yum-cvs-commits mailing list