[yum-cvs] yum-utils repoquery.py,1.38,1.39
Panu Matilainen
pmatilai at linux.duke.edu
Thu Nov 9 08:34:42 UTC 2006
Update of //home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv18743
Modified Files:
repoquery.py
Log Message:
- fix --cache and --show-dupes options
Index: repoquery.py
===================================================================
RCS file: //home/groups/yum/cvs/yum-utils/repoquery.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- repoquery.py 18 Sep 2006 15:43:17 -0000 1.38
+++ repoquery.py 9 Nov 2006 08:34:40 -0000 1.39
@@ -645,11 +645,11 @@
repoq.repos.setCacheDir(cachedir)
if opts.cache:
- repoq.conf.setattr('cache', 1)
+ repoq.conf.cache = True
repoq.logger.error('Running from cache, results might be incomplete.')
if opts.show_dupes:
- repoq.conf.setattr('showdupesfromrepos', 1)
+ repoq.conf.showdupesfromrepos = True
if len(opts.repoid) > 0:
for repo in repoq.repos.findRepos('*'):
More information about the Yum-cvs-commits
mailing list