Merge pull request #623 from mscherer/small_yum_cleanup

Remove unused option in yum's repoquery call
This commit is contained in:
Brian Coca 2015-04-13 17:04:51 -04:00
commit da59efbc4b

View file

@ -445,7 +445,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]
@ -728,7 +728,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]