From e025b591d3e09217bc45a4fba829370dba7487e0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 11 Jan 2015 03:57:53 +0100 Subject: [PATCH] Remove unused option in the repoquery call Citing the man page: -q, --query For rpmquery compatibility, doesn't do anything. --- packaging/os/yum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/os/yum.py b/packaging/os/yum.py index 73fbb699e75..06895ecff08 100644 --- a/packaging/os/yum.py +++ b/packaging/os/yum.py @@ -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]