[yum-cvs] yum-utils repotrack.py,1.7,1.8

Seth Vidal skvidal at linux.duke.edu
Fri Feb 10 06:13:37 UTC 2006


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

Modified Files:
	repotrack.py 
Log Message:

simplify RepoTrack.findDeps


Index: repotrack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repotrack.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- repotrack.py	22 Jan 2006 21:05:25 -0000	1.7
+++ repotrack.py	10 Feb 2006 06:13:35 -0000	1.8
@@ -70,13 +70,8 @@
             if r.startswith('rpmlib('):
                 continue
             
-            satisfiers = []
+            pkgresults[req] = list(self.whatProvides(r, f, v))
 
-            for po in self.whatProvides(r, f, v):
-                satisfiers.append(po)
-
-            pkgresults[req] = satisfiers
-        
         return pkgresults
     
 




More information about the Yum-cvs-commits mailing list