[yum-cvs] yum/yum yumRepo.py,1.37,1.38
Seth Vidal
skvidal at linux.duke.edu
Tue Feb 27 19:18:15 UTC 2007
- Previous message: [yum-cvs] yum-utils/test test-package-cleanup, NONE, 1.1 test-all, NONE, 1.1 test-yumdownloader, NONE, 1.1 test-repoquery, NONE, 1.1 test-repo-rss, NONE, 1.1 test-reposync, NONE, 1.1 test-repo-graph, NONE, 1.1 test-repoclosure, NONE, 1.1 test-repotrack, NONE, 1.1
- Next message: [yum-cvs] yum/yum sqlitesack.py,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv6193
Modified Files:
yumRepo.py
Log Message:
make sure xml-based repos work, too.
Index: yumRepo.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/yumRepo.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- yumRepo.py 27 Feb 2007 05:27:08 -0000 1.37
+++ yumRepo.py 27 Feb 2007 19:18:13 -0000 1.38
@@ -147,15 +147,15 @@
misc.bunzipFile(db_fn, db_un_fn)
dobj = repo.cacheHandler.open_database(db_un_fn)
- else:
- xml = repo_get_function()
- xmldata = repo.repoXML.getData(mymdtype)
- (ctype, csum) = xmldata.checksum
- dobj = repo_cache_function(xml, csum)
-
- if not cacheonly:
- self.addDict(repo, item, dobj, callback)
- del dobj
+ else:
+ xml = repo_get_function()
+ xmldata = repo.repoXML.getData(mymdtype)
+ (ctype, csum) = xmldata.checksum
+ dobj = repo_cache_function(xml, csum)
+
+ if not cacheonly:
+ self.addDict(repo, item, dobj, callback)
+ del dobj
# get rid of all this stuff we don't need now
- Previous message: [yum-cvs] yum-utils/test test-package-cleanup, NONE, 1.1 test-all, NONE, 1.1 test-yumdownloader, NONE, 1.1 test-repoquery, NONE, 1.1 test-repo-rss, NONE, 1.1 test-reposync, NONE, 1.1 test-repo-graph, NONE, 1.1 test-repoclosure, NONE, 1.1 test-repotrack, NONE, 1.1
- Next message: [yum-cvs] yum/yum sqlitesack.py,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Yum-cvs-commits
mailing list