Remove unused option in the repoquery call

Citing the man page:
       -q, --query
              For rpmquery compatibility, doesn't do anything.
This commit is contained in:
Michael Scherer 2015-01-11 03:57:53 +01:00
parent d3297dc8a8
commit e025b591d3

View file

@ -450,7 +450,7 @@ def repolist(module, repoq, qf="%{repoid}"):
def list_stuff(module, conf_file, stuff):
qf = "%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}"
repoq = [repoquery, '--show-duplicates', '--plugins', '--quiet', '-q']
repoq = [repoquery, '--show-duplicates', '--plugins', '--quiet']
if conf_file and os.path.exists(conf_file):
repoq += ['-c', conf_file]
@ -733,7 +733,7 @@ def ensure(module, state, pkgspec, conf_file, enablerepo, disablerepo,
if not repoquery:
repoq = None
else:
repoq = [repoquery, '--show-duplicates', '--plugins', '--quiet', '-q']
repoq = [repoquery, '--show-duplicates', '--plugins', '--quiet']
if conf_file and os.path.exists(conf_file):
yum_basecmd += ['-c', conf_file]