Commit 486ba1de authored by Panu Matilainen's avatar Panu Matilainen

- fix --cache and --show-dupes options

parent 251e4c9e
......@@ -645,11 +645,11 @@ def main(args):
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('*'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment