[yum-cvs] yum/yum packageSack.py,1.12,1.13

Seth Vidal skvidal at linux.duke.edu
Mon Aug 28 12:45:05 UTC 2006


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

Modified Files:
	packageSack.py 
Log Message:

note about how to make this a generator-capable interface


Index: packageSack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packageSack.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- packageSack.py	27 Aug 2006 20:07:25 -0000	1.12
+++ packageSack.py	28 Aug 2006 12:45:03 -0000	1.13
@@ -215,6 +215,13 @@
         unmatched = misc.unique(unmatched)
         exactmatch = misc.unique(exactmatch)
 
+        # fixme - maybe return a minor object that has:
+        #   foo = holderclass
+        #   foo.pkg
+        #   foo.matchedwith
+        #   foo.exactmatch
+        # then let the user create the unmatched list themselves.
+        
         return exactmatch, matched, unmatched
 
 




More information about the Yum-cvs-commits mailing list