[yum-cvs] yum yumcommands.py,1.2,1.3

Seth Vidal skvidal at linux.duke.edu
Mon Jan 22 04:33:24 UTC 2007


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

Modified Files:
	yumcommands.py 
Log Message:

- change out 'with' option to populate() closing rh bug 223650
- add gpl headed to yumRepo.py


Index: yumcommands.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yumcommands.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- yumcommands.py	26 Nov 2006 23:59:45 -0000	1.2
+++ yumcommands.py	22 Jan 2007 04:33:22 -0000	1.3
@@ -272,9 +272,9 @@
             for repo in base.repos.findRepos('*'):
                 repo.metadata_expire = 0
             base.doRepoSetup(dosack=0)
-            base.repos.populateSack(with='metadata', cacheonly=1)
-            base.repos.populateSack(with='filelists', cacheonly=1)
-            base.repos.populateSack(with='otherdata', cacheonly=1)
+            base.repos.populateSack(mdtype='metadata', cacheonly=1)
+            base.repos.populateSack(mdtype='filelists', cacheonly=1)
+            base.repos.populateSack(mdtype='otherdata', cacheonly=1)
 
         except yum.Errors.YumBaseError, e:
             return 1, [str(e)]




More information about the Yum-cvs-commits mailing list