[yum-commits] repoquery.py

Ville Skyttä scop at osuosl.org
Fri Oct 23 15:11:15 UTC 2009


 repoquery.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 60e082abc5ad461f37f2735d8d9221e25b05ac06
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Oct 23 16:59:01 2009 +0300

    Make repoquery --pkgnarrow=extras actually output its findings.

diff --git a/repoquery.py b/repoquery.py
index 7e9add1..6ddbddc 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -394,7 +394,7 @@ class YumBaseQuery(yum.YumBase):
         qpkgs = []
         for pkg in pkgs:
             if isinstance(pkg, yum.packages.YumInstalledPackage):
-                if self.options.pkgnarrow not in ('all', 'installed'):
+                if self.options.pkgnarrow not in ('all', 'installed', 'extras'):
                     continue
                 qpkg = instPkgQuery(pkg, qf)
             else:


More information about the Yum-commits mailing list